M
MEM
hello,
I'd like to 'disable' an image link based on a value selected in a
drop down.
I currently have an image link that has the onclick event set to
execute a function.
For example:
<a href="#" onclick="afunction();return false;"><img
src="blah.gif"></a>
So, based on what the user selects in a drop down i want the onclick
event to NOT execute the function.
On the opposite end i want the onclick event to execute the function
if nothing is selected from the drop down.
thanks in advance
I'd like to 'disable' an image link based on a value selected in a
drop down.
I currently have an image link that has the onclick event set to
execute a function.
For example:
<a href="#" onclick="afunction();return false;"><img
src="blah.gif"></a>
So, based on what the user selects in a drop down i want the onclick
event to NOT execute the function.
On the opposite end i want the onclick event to execute the function
if nothing is selected from the drop down.
thanks in advance