Forcing an onChange event to fire

J

James Howe

I have a page which has a small number of input fields and some areas on
the screen where the user can click to make things happen. These areas
are generally <span>s with some associated onclick behavior. I want to
have the onchange event fire when the user clicks on one of these areas.
Is there a way that I can get this to happen?

Thanks.
 
C

Csaba2000

If I understand you correctly, then the two things
I would be inclined to look at are 1) the fireEvent method
or 2) executing the associated onChange function directly.

Csaba Gabor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,091
Messages
2,570,604
Members
47,223
Latest member
smithjens316

Latest Threads

Top