website textbox

78
Views
1
Answers

i wonder what is the use of website textbox in your register form?
why you ask for it?

edit | flag
Sham Yadav
Asked on: Feb 25, 2014 at 11:54AM

1 Answers

176
1
176

A textbox is used to enter a text in the website.

In HTML
input type="text" id="textboxname"/>

you can get the value entered in Javascript by

var textentered = document.getElementById("textboxname").value;
alert
(text entered);

In JQuery

var textentered=$("#textboxname").val();
alert
(text entered);
edit | flag
William Patrick
Answered on: Feb 26, 2014 at 7:20AM

Post your Answer

Search

Welcome to Ask Amoeba!
This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions.
Learners, beginners, Experts stop and share your knowledge and ideas!

Browse Categories

Browse Tags