Click to See Complete Forum and Search --> : Use textbox with permanent text in it


mdanan
02-19-2003, 06:30 PM
I wanted to use a textbox for design purposes and have text written in it already...but I don't know how to.

Sample Code:

Name: <input type="text"><%=Call("Name")%>

___________
But then it would appear that the variable I was trying to get was outside of the text box instead.


How do I do this?

PeOfEo
02-19-2003, 08:01 PM
If you want it as a variable it would be like textboxname.text = x to have text in it alredy put it in the page load sup put something like textboxname.text = "Your text" or in the text box its self put text="Your text", Thats how it is in visual basic and asp.net, I myself dont know classic asp but it should be about the same.