Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto TextBox Entry

Status
Not open for further replies.

Bubbler

IS-IT--Management
Dec 14, 2003
135
US
If I have a standard Text Box on an asp page let's say named "message"
How can I create a link so that when the user clicks on it, it auto inserts the text string "Link Clicked"
 
This should do it
Code:
<html>
<body>
<input name=message value=&quot;&quot;><br>
<a href=&quot;javascript:void(0)&quot; onclick=&quot;document.all.message.value='Link Clicked'&quot;>Click ME!</a>
</body>
</html>

________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top