Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Checkboxes - can many be referenced to a single onchange?
Old 08-13-2008, 12:44 PM Checkboxes - can many be referenced to a single onchange?
Average Talker

Posts: 19
Name: Meir Ech
Trades: 0
Suppose you have 5 checkboxes,
all of which must trigger an event when checked.
Can we eloquently give all of them the same "name"
to trigger something like a "name.onchange" event?

Do you know what I mean? I'm trying to avoid
having a seperate trigger for each checkbox,
and rather code for a "this" parameter.

Someone know how I can accomplish that?
ruffy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-13-2008, 12:54 PM Re: Checkboxes - can many be referenced to a single onchange?
Average Talker

Posts: 19
Name: Meir Ech
Trades: 0
I think I found the answer at:
http://www.javascriptkit.com/jsref/checkbox.shtml
ruffy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Checkboxes - can many be referenced to a single onchange?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.85768 seconds with 12 queries