![]() Topic awaiting preservation: Javascript: Points based questionnaire |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() I am searching for a (must be a client side solution) javascript that will do the following: |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Check out what I'm doing here. This is usually a window that's opened via window.open. It uses two divs and points to show the score and correct answers. |
Obsessive-Compulsive (I) Inmate From: |
![]() I don't know of a link to the script you want, but I think all you need to do is loop over the radio buttons, get the value of each checked radio button, add and store this value to a variable each time. After the loop, that variable will contain the sum of the values of the checked radio buttons. If you want I can write up a quick demo later. |
Bipolar (III) Inmate From: Amsterdam |
![]() I've written such a script a while ago. |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() Nevel, |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() I could sure use some more help on this....Puhleeeeeese?!?!? |
Maniac (V) Mad Scientist From: the bigger bedroom |
![]() ok... let's try and make this as easy as possible - we don't want no hardcoding, do we buddy? code: function checkkit() {
|
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() Sorry, Adam for the lack of PSPONG return...I'm freelancing fulltime and I just recently got more work than I could possibly handle alone and have been working ungodly hours to keep the client happy...which has meant that I've had to focus solely on getting their stuff done...I apologize profusely! |
Maniac (V) Mad Scientist From: the bigger bedroom |
![]() no sweat bruce - just tell me if that little javascript gem i coded you was useful or not! |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() thanks Adam for the JS gem you came up with...however, I'm JS challenged and unsure how to build on that or incorporate it with other JS to make it work...can you give me a working example? |
Maniac (V) Mad Scientist From: the bigger bedroom |
![]() heh, there's really not much left to do - just call the function. code: <html>
|