I need to assign 2 events to my onClick event of a radio button. Is this possible? Like I have one called uncheckAll() and then one called addParam().
Isn there any way to do this in the html code? Thanks!
Printable View
I need to assign 2 events to my onClick event of a radio button. Is this possible? Like I have one called uncheckAll() and then one called addParam().
Isn there any way to do this in the html code? Thanks!
Do you mean when the radio button is clicked you execute 2 different subroutines?
That should not be a problem, do it in the 'OnClick' command. You can embed the onClick command into the ASP if you want to do it without a dll.
sorry I wasn't more specific, the two events are javascript. is there a way to fire both during the same event (onClick)?
Thanks for the reply!
I don't know Javascript that well, but why not have a wrapper function that launches both the other functions? Then you can call a single function from the onClick.
I see. Thanks for your input :)
Or just use onClick="function1();function2();"
Awesome Thanks!!!!!