This is a discussion on "Event handlers in Firefox" within the JavaScript Forum section. This forum, and the thread "Event handlers in Firefox are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Event handlers in Firefox
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Event handlers in Firefox
Hello all!
I have a problem: I'm writing script to validate maxlength in textarea, and I use event.returnValue method (or just write return false), but it works only in IE. What should I do in order to make it work in Firefox or other browser? Thanks |
|
|
|
|||
|
Re: Event handlers in Firefox
Despite what might be happening in IE, the problem is that the 'textarea' tag does not have a 'maxlength' attribute like the 'input' tag of type text does. A solution is offered on this site though: http://www.dynamicdrive.com/dynamici.../maxlength.htm |
![]() |
| Tags |
| event handler, events, firefox |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2 ondblclick handlers to zoom-in/zoom-out images | benreynolds4 | JavaScript Forum | 4 | May 23rd, 2008 19:39 |
| Event cancelling in Firefox | Kropotkin | JavaScript Forum | 2 | Aug 13th, 2007 09:06 |
| Event gateways for dummies | tallgal2007 | Other Programming Languages | 1 | Jul 18th, 2007 09:47 |
| EVENT: SPARK - Flash Event | Flasher | Flash & Multimedia Forum | 0 | Nov 15th, 2005 10:08 |