Finds all inputs with name 'ab' : Selector Form « jQuery « JavaScript Tutorial

JavaScript Tutorial
1. Language Basics
2. Operators
3. Statement
4. Development
5. Number Data Type
6. String
7. Function
8. Global
9. Math
10. Form
11. Array
12. Date
13. Dialogs
14. Document
15. Event
16. Location
17. Navigator
18. Screen
19. Window
20. History
21. HTML Tags
22. Style
23. DOM Node
24. Drag Drop
25. Object Oriented
26. Regular Expressions
27. XML
28. GUI Components
29. Dojo toolkit
30. jQuery
31. Animation
32. MS JScript
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 DHTML
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 Tutorial » jQuery » Selector Form 
30. 7. 16. Finds all inputs with name 'ab'
<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){

            $("input[name='ab']").val("ab");
        

        });
    </script>

  </head>
  <body>
    <body>
      <input name="ab" />


    </body>
</html>
30. 7. Selector Form
30. 7. 1. image() matches all input elements of type image.
30. 7. 2. input() matches all input, textarea, select and button elements.
30. 7. 3. Get all form children
30. 7. 4. password() matches all input elements of type password.
30. 7. 5. radio() matches all input elements of type radio.
30. 7. 6. reset() matches all input elements of type reset.
30. 7. 7. submit() matches all input elements of type submit.
30. 7. 8. text() matches all input elements of type text.
30. 7. 9. checked() matches all elements that are checked.
30. 7. 10. disabled() matches all elements that are disabled.
30. 7. 11. enabled() matches all elements that are enabled.
30. 7. 12. selected() matches all elements that are selected.
30. 7. 13. Finds all button inputs.
30. 7. 14. Finds all inputs that don't have the name 'n'
30. 7. 15. Finds all inputs that have an id attribute and whose name attribute ends with man and sets the value.
30. 7. 16. Finds all inputs with name 'ab'
30. 7. 17. Finds all inputs with an attribute name that ends with 'b'
30. 7. 18. Finds all inputs that with a name attribute that contains 'a'
30. 7. 19. Finds all inputs that are not checked and highlights the next sibling span.
30. 7. 20. checkbox() matches all input elements of type checkbox.
30. 7. 21. Shows all hidden divs and counts hidden inputs.
30. 7. 22. file() matches all input elements of type file.
30. 7. 23. Finds the button with no siblings in each matched div and modifies look.
30. 7. 24. Get disabled form fields
30. 7. 25. Get enabled form fields
30. 7. 26. Find the very next sibling of each disabled button and change its text "this button is disabled".
30. 7. 27. 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.