Get SharePoint InfoPath form Drop down value with reference to below script
I want to find out the existing value of info path form Drop Down on page
load using jquery with reference to below script, Please try to get Drop
Down using Class name or title except ID.
<span style="white-space: nowrap;" onmouseover="return
LeafControl.OnWrappingSpanMouseOver(this, event);"
onmouseout="return LeafControl.OnWrappingSpanMouseOut(this, event);"
class="a_jMoijPYJScd3O179_1 r_jMoijPYJScd3O179_1 bz_jMoijPYJScd3O179_1
b1_jMoijPYJScd3O179_1">
<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_D26"
scriptclass="DropDownList" class="q_jMoijPYJScd3O179_1
m_jMoijPYJScd3O179_1 b0_jMoijPYJScd3O179_1 bq_jMoijPYJScd3O179_1"
wrapped="true" direction="ltr" viewdatanode="39"
formid="ctl00_m_g_9b533b93_8578_445e_8f07_9d3d3923440c_FormControl0"
originalid="V1_I1_D26" 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>
</select></span>
Please help me.
Thanks, Digambar K
No comments:
Post a Comment