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.
14 lines
718 B
14 lines
718 B
<script>
|
|
$(function () {
|
|
$('#OrganId').change(function () {
|
|
var id = $(this).find(':selected').val();
|
|
update('@Url.Action("GetOrganBuilding", "Ajax",new{area="IoTCenter"})', id, "#ParentId");
|
|
update('@Url.Action("GetUser", "Ajax",new{area="IoTCenter"})', id, "#UserId");
|
|
});;
|
|
$('#Query_OrganId').change(function () {
|
|
var id = $(this).find(':selected').val();
|
|
update('@Url.Action("GetOrganBuilding", "Ajax",new{area="IoTCenter"})', id, "#Query_ParentId");
|
|
update('@Url.Action("GetUser", "Ajax",new{area="IoTCenter"})', id, "#Query_UserId");
|
|
});;
|
|
});
|
|
</script> |