This is a discussion on "[SOLVED] combine 2 onlick events." within the JavaScript Forum section. This forum, and the thread "[SOLVED] combine 2 onlick events. are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] combine 2 onlick events.
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] combine 2 onlick events.
I would like the form buttons to reset their behaviour in IE so when you click them, they go back to normal. At the moment, when you click them, they look like they have been pressed and stay down.
I have found a way to do it but I already have an onclick event so I need to combine them both this is what resets the button
It is not in code tags becuase the code dissappears <input type="button" class="sendbutton" value="bold" name="bold" onclick="javascript:tag('b', '', 'bold*', '', 'bold', 'bold');" onMouseOver="helpline('bold')" /> Last edited by AdRock; Oct 14th, 2007 at 12:56. |
|
|
|
#2
|
||||
|
||||
|
Re: combine 2 onlick events.
onclick="tag('b', '', 'bold*', '', 'bold', 'bold');this.blur();"
You can separate function calls with a semi colon, just like you would between <script> tags. Cheers,
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Combine two javascript | longcroft | JavaScript Forum | 6 | Jun 3rd, 2008 14:51 |
| Date & Time [Combine] | doctypedeclaration | JavaScript Forum | 3 | Mar 12th, 2008 01:22 |
| Coding help: Combine Insert into and If/else statement! | skuliaxe | PHP Forum | 6 | Jan 23rd, 2008 17:50 |
| Recent Events | JacobHaug | Webforumz Cafe | 0 | Oct 8th, 2007 05:50 |
| How can I combine two columns into one column using SQL | gecastill | Databases | 2 | Jun 3rd, 2005 18:23 |