Posted 06 March 2006 - 05:48 PM
I have a line of code as below in one of my PHP files:
echo "<select name='left' id='left' size='1' onChange='get-flag_middle(left.value)'>";
Can I add a second / third action to this line so that I have got onChange='xxxx' onChange='yyy' etc?
If not how can I do it?
Thanks a lot.
Posted 06 March 2006 - 06:00 PM
Posted 06 March 2006 - 06:03 PM
to answer your question, though, all you'd have to do is treat the action within the onclick call as normal code:
<a href="whatever" onclick="function1(); function2(); function3();">whatever</a>
hope this helps
Posted 06 March 2006 - 06:52 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users