hi
I am passing the value of select to a function which is called on click event of button. here is the code
[code=html]
<select name="ctName" style="width:30 0px;" id="clientname " >
<option selected="selec ted" value="">----Select Client Name----</option>
<option value="mukesh"> mukesh</option>
<option value="kumar">k umar</option>
<option value="mishra"> mishra</option>
<input type="button" name="Submit2" value="GO" id="bgo" onclick="advanc eResults(ctName .options[ctName.selected Index].value" />
[/code]
Here I am using ajax and function advanceResults( ) is called in .js page. though this code works fine in IE but it is not working in Mozilla Firefox.
and same is happening when I am passing value of Text box to other button
I am passing the value of select to a function which is called on click event of button. here is the code
[code=html]
<select name="ctName" style="width:30 0px;" id="clientname " >
<option selected="selec ted" value="">----Select Client Name----</option>
<option value="mukesh"> mukesh</option>
<option value="kumar">k umar</option>
<option value="mishra"> mishra</option>
<input type="button" name="Submit2" value="GO" id="bgo" onclick="advanc eResults(ctName .options[ctName.selected Index].value" />
[/code]
Here I am using ajax and function advanceResults( ) is called in .js page. though this code works fine in IE but it is not working in Mozilla Firefox.
and same is happening when I am passing value of Text box to other button
Comment