You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/IoT.Shared/Areas/Admin/Views/Data/_Script.cshtml

10 lines
294 B

<script>
$(function () {
$('#NodeId').change(function () {
var id = $(this).find(':selected').val();
update('@Url.Action("GetDeviceJson", "Ajax")', id, "#DeviceId");
$('#ajax').html('');
});;
});
</script>