...Beauty, cleaning, DIY tips and more - free to join!
   Login   Contact us   Site map   Puzzle Club   Ask a question    Newsletter

How can I access the contents of a text box with JavaScript?


Question asked by: knowitall

If you are using JavaScript, there are several ways to access the contents of a text box.

The easiest way is to go through the form properties as standard accessed by assigning the text box an id then making a call to:
getElementbyID() in order to access the element.

By: Unknown
star star star star
Average rating for this answer is 4 / 5

Rate Answer
Comment or provide your answer to this question
No comments have been added to this question "How can I access the contents of a text box with JavaScript?".
Ask a New Question

Find out more about Computing

Computing Questions and Answers

javascript Questions and Answers

Next question: How can I amend the content a user enters in a text box?


Become a Member! It's Free >>>

Share on Facebook: On Twitter: TwitterTweet this!

Question Keywords

text  box  javascript  contents  access  

More Questions:

What Is Actionscript?
What Is Social Networking?
Who Invented Internet Shopping?
What Does AJAX Mean?
Tips On Remembering A Password Please?