var agentIds = []; $("#ddlAgent > option").each(function (i) { if (i > 0) { agentIds.push(this.value); } });
Login to post response