Hi...
Bascially i have one link on clicking the link the div gets visible
which is a user controls in .net
<div id="boxWrapper">
<h1 class="lightBoxTitle">
Welcome Back, <span class="userName" id="spanUserName"
runat="server"></span>
<select id="sellightBoxSelect" runat="server"
class="lightBoxSelect" style="font-size:13px;vertical-align:top;">
</select>
<span id='spanSingleRest' runat='server'
class='lightBoxSelect'></span>
<span id='spanhidSingleWebID' runat='server'
class='lightBoxSelect' visible='false'></span>
</h1>
</div>
but when i saw view source in firebug it shows the selectbox id with
some prefix as it is usercontrol and render in master page
<div id="boxWrapper" class="ui-dialog-content ui-widget-content"
style="display: block; width: auto; min-height: 0px; height:
592.033px;">
<h1 class="lightBoxTitle">
Welcome Back,
<span id="OTRHeader1_spanUserName" class="userName">Sagars</span>
<select id="OTRHeader1_sellightBoxSelect" class="lightBoxSelect"
style="font-size: 13px; vertical-align: top;"
name="OTRHeader1$sellightBoxSelect">
</select>
<span id="OTRHeader1_spanSingleRest" class="lightBoxSelect"></span>
</h1>
but beause of it i can't call jquery function because the jquery
function is as follows which has id sellightBoxSelect
$('select[id$=sellightBoxSelect]').change(function () {
//set Acct# in User Details section
$('dd[id$=ddAcctNo]').text($('select[id
$=sellightBoxSelect]').val());
//set acc mgr details
SetAccMgrDetails();
//draw piechart
GetPieChart();
});
please help me....so resolve this issue.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]