Methods and Properties of the Radio Object : RadioButton Radio : Form Control : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP


JavaScript DHTML  »  Form Control   » [  RadioButton Radio  ]   
 



Methods and Properties of the Radio Object


/*
JavaScript Unleashed, Third Edition
by Richard Wagner and R. Allen Wyke 

ISBN: 067231763X
Publisher Sams CopyRight 2000



+------------+----------------+------------------------------------------+
  Type        Item              Description
+------------+----------------+------------------------------------------+
  Method
+------------+----------------+------------------------------------------+  
              blur()            Removes focus from the Radio object.
+------------+----------------+------------------------------------------+
              click()           Simulates a mouse click on the button.
+------------+----------------+------------------------------------------+
              focus()           Sets the focus to a button.
+------------+----------------+------------------------------------------+
              handleEvent()     Invokes the default handler for the specified 
                                event. This method was added in JavaScript 1.2.
+------------+----------------+------------------------------------------+
  Property
+------------+----------------+------------------------------------------+
               checked          Specifies whether a button is checked or unchecked.
+------------+----------------+------------------------------------------+
              defaultChecked    Refers to the checked attribute of the HTML 
                                'input' tag.
+------------+----------------+------------------------------------------+
              form             Refers to the Form object that contains the Radio object.
+------------+----------------+------------------------------------------+
              name             Refers to the name attribute of the HTML 'input' tag.
+------------+----------------+------------------------------------------+
              type             Refers to the type attribute of the HTML 'input' tag.
+------------+----------------+------------------------------------------+
              value            Refers to the value attribute of the HTML 'input' tag.
+------------+----------------+------------------------------------------+
*/
           
       
Related examples in the same category
1.  'defaultChecked' Example
2.  Radio Button status Example
3.  Check a Radio Button
4.  Radio buttons in a form
5.  Using the onPropertyChange Property
6.  Radio action
7.  Determining the Value of the Selected Radio Button
8.  Scripting a Group of Radio Objects
9.  Finding the Selected Button in a Radio Group
10.  An onClick event Handler for Radio Buttons
11.  Get the radio button selection
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.