radio() matches all input elements of type radio. : Selector Form « jQuery « JavaScript DHTML

JavaScript DHTML
1. Ajax Layer
2. Data Type
3. Date Time
4. Development
5. Document
6. Dojo toolkit
7. Event
8. Event onMethod
9. Ext JS
10. Form Control
11. GUI Components
12. HTML
13. Javascript Collections
14. Javascript Objects
15. Javascript Properties
16. jQuery
17. Language Basics
18. Mochkit
19. Mootools
20. Node Operation
21. Object Oriented
22. Page Components
23. Rico
24. Scriptaculous
25. Security
26. SmartClient
27. Style Layout
28. Table
29. Utilities
30. Window Browser
31. YUI Library
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
JavaScript DHTML » jQuery » Selector Form 
radio() matches all input elements of type radio.
  


<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            alert($(":radio").length);
      

        });
    </script>
  </head>
  <body>
    <body>
    <form>
        <input type="button" value="Input Button"/>
    
        <input type="checkbox">asdf</input>
        <input type="checkbox" />
        <input type="checkbox" />
        <input type="file" />
        <input type="hidden" />
        <input type="image" />
        <input type="password" />
        <input type="radio" />
        <input type="reset" />
        <input type="submit" />
        <input type="text" />
    
        <select><option>Option<option/></select>
        <textarea></textarea>
        <button>Button</button>
    </form>    
    </body>
</html>

   
    
  
Related examples in the same category
1. image() matches all input elements of type image.
2. input() matches all input, textarea, select and button elements.
3. Get all form children
4. password() matches all input elements of type password.
5. reset() matches all input elements of type reset.
6. submit() matches all input elements of type submit.
7. text() matches all input elements of type text.
8. checked() matches all elements that are checked.
9. disabled() matches all elements that are disabled.
10. enabled() matches all elements that are enabled.
11. selected() matches all elements that are selected.
12. Finds all button inputs.
13. Finds all inputs that don't have the name 'n'
14. Finds all inputs that have an id attribute and whose name attribute ends with man and sets the value.
15. Finds all inputs with name 'ab'
16. Finds all inputs with an attribute name that ends with 'b'
17. Finds all inputs that with a name attribute that contains 'a'
18. Finds all inputs that are not checked and highlights the next sibling span.
19. checkbox() matches all input elements of type checkbox.
20. Shows all hidden divs and counts hidden inputs.
21. file() matches all input elements of type file.
22. Finds the button with no siblings in each matched div and modifies look.
23. Get disabled form fields
24. Get enabled form fields
25. Find the very next sibling of each disabled button and change its text "this button is disabled".
26. Finds all inputs of type radio within the first form in the document
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.