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/IoTTigger/_Script.cshtml

14 lines
502 B

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