$(function () { $("#CompanyID").change(function () { var uid = $(this).val(); changediv(uid); }); }); function changediv(uid) { var url = "@Url.Action("GetJsonDrop","TheOrder")"; var param = new Object(); param.id = uid; $.z_ajaxAction(url, param, function (result) { var obj = result; $(‘#LinkManID‘).html(‘‘); $.each(result, function (i, item) { $(‘#LinkManID‘).append($("<option></option>").val(item.ID).html(item.LinkManName)); }); }); }
时间: 2024-10-06 16:08:09