Add elements to array from dropdown values using jquery

Ankaprasad
Posted by Ankaprasad under jQuery category on | Points: 40 | Views : 624
 var agentIds = [];       
$("#ddlAgent > option").each(function (i) {
if (i > 0)
{ agentIds.push(this.value); }
});

Comments or Responses

Login to post response