Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Javascript
What is the easiest way to read the value of a checkbox?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Randell_D, post: 4968788"] Thanks... but... the ".checked" would return "true" or "false" and i wanted the value... in my example, had I had two radio boxes named "status", the first with a value of zero and the second with a value of 1 I would want a one or zero. Martin Honnen's response got me going... but I've now got a follow on post for me to correctly identify a field type - I must be doing something wrong and I have raised the question under the title " why js identify my input type for text box but not for checkbox/radiobox" or via this url (if you think you can help) [URL]http://groups.google.com/group/comp.lang.javascript/browse_thread/thread/b1c9ba90a10e43d5/3b41b3e66ba49d7b#3b41b3e66ba49d7b[/URL] BTW I note you're using Turnpike... My first ISP was Demon in 1995/96 and remember an early version of it... you brought my memory on a journey just thinking of that... thanks for the post/comments... [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Javascript
What is the easiest way to read the value of a checkbox?
Top