-2

我有以下浏览器呈现的代码,我必须从中获取选定的值表单下拉所以请建议我,

<select onchange="return (DropDownList.OnChange(this, event));" onfocus="return (DropDownList.OnFocus(this, event));"
onblur="return (DropDownList.OnBlur(this, event));" id="ctl00_m_g_9b533b93_8578_445e_8f07_9d3d3923440c_FormControl0_V1_I1_D27"
scriptclass="DropDownList" class="q_fnajakhee6csPfK0_1 m_fnajakhee6csPfK0_1 b4_fnajakhee6csPfK0_1 br_fnajakhee6csPfK0_1"
wrapped="true" direction="ltr" viewdatanode="40" formid="ctl00_m_g_9b533b93_8578_445e_8f07_9d3d3923440c_FormControl0"
originalid="V1_I1_D27" tabindex="0" title="" style="direction: ltr">
<option value=""></option>
<option value="Pending" selected="">Pending</option>
<option value="Approve">Approve</option>
<option value="Reject">Reject</option>
<option value="Change Topic">Change Topic</option>

谢谢, Digambar K。

4

1 回答 1

0

您可以使用

var selectedValue = $(this).val(); // where 'this' is the dropdown
于 2013-08-12T12:17:33.213 回答