Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Event handler on a counter button

Status
Not open for further replies.

Palmke

Programmer
May 12, 2004
16
IT
I have to use event handlers for some kind of buttons,
and till now everything is fine,
I also have to make it react when you click on "+" or "-" buttons of a counter.. i tried onclick and onchange but both of them reacts only when the text in it is clicked one, and the other after you move the focus...

May somebody help please?

Best regards,
Palmke
 
hi,
I have an event handler which I can't modify and then I can call a function whenever a button is changed :
I used either onclick=do_it(a)
either onchange=do_it(a)

I didn't find on the manual of JavaScript an event handler that reacts when u push the "buttons" of a counter..

don't know what to write there...

best regards,
Palmke
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top