This is needlessly convoluted:
Can't really tell what the problem is; was unable to reproduce it with an assumptive setup. It might help if you can provide more context (the markup and any other related scripting).Code:var clientId = $("select#ClientId > option:selected").attr("value"); //equivalent to: var clientId = $("#ClientId").val();




Reply With Quote