This is a discussion on "trigger onchange" within the JavaScript Forum section. This forum, and the thread "trigger onchange are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
trigger onchange
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
trigger onchange
Is it possible to trigger the onchange event programmatically? I'm changing the value of input with JS and onchange doesn't trigger.
Thanks! |
|
|
|
#2
|
||||
|
||||
|
Re: trigger onchange
You can do it by calling it as an object method..
eg:
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
#3
|
|||
|
|||
|
Re: trigger onchange
Ok, I didn't mention that I'm using this event to fire a xajax function that updates some values on my form. The formInput.onchange() is called from another window and now I'm getting an error:
Error: responseReceived: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status] but only in FF, IE works great. Any hints? |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dynamic Select Menu with Onchange | pimpmaster | JavaScript Forum | 2 | Jun 18th, 2007 18:11 |
| How do I trigger an action when one swf is swapped for another? | Keeldog | Flash & Multimedia Forum | 4 | Apr 28th, 2007 06:22 |
| IE Active X trigger? | Lchad | Web Page Design | 0 | Feb 9th, 2007 11:52 |
| insert image trigger by variable value from a form | kyk | JavaScript Forum | 5 | Aug 19th, 2006 09:15 |
| onchange event and tabbing out of text field ARRRGG | juan110470 | JavaScript Forum | 1 | Dec 7th, 2005 22:55 |