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/IoTNode/Areas/IoTCenter/Views/IoTData/_Script.cshtml

10 lines
396 B

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