I am using the following code in the afterShowForm(Add Mode). The value of the select list gets set but then the value goes back to “” after the event fires.
function asForm(formId){ $(“.vendordefaultoption option[value='” + $(‘#dispdefaultvendorcode’).val() + “‘]”).prop(“selected”, true); alert(“Leaving After Show Form”); };
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top