I have written one code for combobox in html.
[HTML]<label style="margin-left:450px" for="clientName ">Client Name:</label>
<Select style="margin-left:31px" name="clientNam e" id="clientName " onchange = 'getCallCenter( )'></Select>[/HTML]
Now javascript ,
[CODE=javascript]function getCallCenter()
{
var clientID=docume nt.getElementBy Id('clientName' ).value;
alert(clientID) ;
}[/CODE]
now problem is, i am getting the value in firefox. but in ie its showing blank.
Whats the problem i am not getting? please help me to solve this problem.
Is there any other way to get the value in ie?
[HTML]<label style="margin-left:450px" for="clientName ">Client Name:</label>
<Select style="margin-left:31px" name="clientNam e" id="clientName " onchange = 'getCallCenter( )'></Select>[/HTML]
Now javascript ,
[CODE=javascript]function getCallCenter()
{
var clientID=docume nt.getElementBy Id('clientName' ).value;
alert(clientID) ;
}[/CODE]
now problem is, i am getting the value in firefox. but in ie its showing blank.
Whats the problem i am not getting? please help me to solve this problem.
Is there any other way to get the value in ie?
Comment