Getting and Setting a Text Object's value Property : TextField « Form Control « 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 » Form Control » TextField 
Getting and Setting a Text Object's value Property
   

<html
<head> 
<title>Text Object value Property</title> 
<script type="text/javascript"
function upperMe() { 
    var field = document.forms[0].converter; 
    var upperCaseVersion = field.value.toUpperCase()
    field.value = upperCaseVersion; 

</script> 
</head> 
<body
<form onsubmit="return false"
<input type="text" name="converter" value="sample" onchange="upperMe()"
</form
</body
</html

   
    
    
  
Related examples in the same category
1. Text field tab Index
2. Is Text Editable
3. Get vcard name
4. Text Field autocomplete Example
5. TextField focus and select all
6. Show TextField value in Dialog
7. TextField focus, blur, and click action
8. Display textfield value in new page
9. JavaScript Loan Calculator
10. Another TextField jump
11. TextField get Focus and clear content
12. Validate an input field with minimum and maximum values
13. Validate an field with a maximum number of characters
14. Select the textfield and focus
15. Focus an input field
16. Jump to the next field
17. Get textfield value
18.  Methods and Properties of the Text Object
19. Selecting Text Upon Focus
20. Assign a default value to a Text object
21. Compound Interest Calculator
22. Resetting a Text Object to Default Value
23. Getting and Setting a Text Object's Value
24. Passing a Text Object (as this) to the Function
25. Text Object Select and Focus
26. Data Validation via an onChange event Handler
27. Add textfield dynamically into HTML
28.  Firing the onSame Event (FireFox)
29. Numerals Only
30. Letter only, yes no only textfield
31. Auto focus textfield
32. Block enter textfield
33. If the textfield has been changed
34. Check if text field input is a number
35. Call select method to highlight the text field
36. Check if a text field is empty
37. Change the text value in text box into upper case
38. Feed value from array to text box
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.