  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | How to hold values in html:radio Button Group using Java Script | How to hold values in html:radio Button Group using Java Script 2007-02-07 - By Jeevan Kumar Kade
Back Hi All, I have 2 Radio Button Group How can i call the following html:radio code in javascript html:radio code First Radio Button Group <html:radio property="firstRadioGroup" value="0"/> <html:radio property="firstRadioGroup" value="1"/> Second Radio Button Group <html:radio property="secondRadioGroup" value="0"/> <html:radio property="secondRadioGroup" value="1"/> <html:radio property="secondRadioGroup" value="2"/> <html:radio property="secondRadioGroup" value="3"/> <html:radio property="secondRadioGroup" value="4"/> Here, the value type is Integer as it having more than one value. My Question is, If i select one radio button from First Group and other radio button from Second Group. How can i hold those values in the java script. i am giving sample, how i am trying to get. based on the below code. Kindly give me the correct code. <javascript> document.formName.firstRadioGroup.value = ""; document.formName.secondRadioGroup.value = ""; </javascript> Please give me your help ASAP. Thanks in Advance Jeevan
-- ---- ---- ---- ---- ---- ----- Access over 1 million songs - Yahoo! Music Unlimited.
|
|
 |