Joined: Tue Mar 27, 2007 10:55 pm Posts: 2103 Location: Earth Has thanked: 39 time Have thanks: 56 time
Hi dear ,
If you need any help in javascript ,just make a new topic (click on -new topic button - ) . and share with us your problem and we will help your as soon as possible .
Please if you have a code post it with the [code] tags in your posting form .And please give us clear description.You have to login to make a topic .If you are not yet, a member of ^codemiles^ you can register free and fast .
Thank you
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )
daisy
Question subject: Re: need help in javascript
Posted: Sat Jun 20, 2009 9:59 am
Joined: Sat Jun 20, 2009 9:49 am Posts: 2 Has thanked: 0 time Have thanks: 0 time
Hello
I have a form, and there is a section where there are 8 rows. each rows has 2 text boxes and 4 radio buttons, each radio button has a value from 1 to 4, and in a ROW user can only select 1 radio button Suppose the 4 columns for the Radio Buttons are A,B,C,D
Now, at the end, i want to total all the A's, all the B's and so on. The problem is that each set of Radio Button has 1 name like SET1 is for Row 1 , SET2 is for ROW 2 factoringThe issue is that, i want to make a loop from 1 to 8 and then the script will check if the First Radio Button of SET1 is selected, then it will add 1 to A OR if the Third Radio Button of SET1 is selected, then it will add 1 to C
please guide me how i can do this ? Also, how i can call the specific radio button like if I want to get the CHECKED status of 2nd Radio Button in 4th ROW, my current code is this :
var status = getField('SET4')[1].checked
but its not working !!!
msi_333
Question subject: Re: need help in javascript
Posted: Fri Jul 31, 2009 1:15 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2103 Location: Earth Has thanked: 39 time Have thanks: 56 time
Any one has a problem in java script you have to create a new topic and do the following:
1. Good Description. 2. Code snippets.
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )