Is it possible to call a javascript function in an html control (thru onclick, for example) and passing as a parameter to the javascript a server control dropdownlist value?
My html control:
<INPUT id="btnDone" onclick="hidedivddl();" type="button" value="Done">
The value I want to pass is a selected value from a dropdown. Can the html control reference this value so it can pass it in the javascript function?
Thanks
My html control:
<INPUT id="btnDone" onclick="hidedivddl();" type="button" value="Done">
The value I want to pass is a selected value from a dropdown. Can the html control reference this value so it can pass it in the javascript function?
Thanks