Reply
Forms and Buttons
Old 09-28-2005, 02:42 PM Forms and Buttons
Miki's Avatar
Skilled Talker

Posts: 71
Name: Michael Stubbs
Location: Warrington, UK
Hi, I was wondering how I could make a button / link enter some text into a textbox in a form.

Like on http://www.brookfresh.co.uk/ (at the top of the page).

Last edited by Miki : 09-29-2005 at 01:19 PM.
Miki is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 09-30-2005, 02:51 AM
ScriptReference's Avatar
Average Talker

Posts: 25
Location: Reno, NV
Example:
[code]
<input type="text" id="my_textbox" /> <img src="my_image.ext" onClick="document.getElementById('my_textbox').val ue='my textbox value.';" />
[code]
ScriptReference is offline
Reply With Quote
View Public Profile Visit ScriptReference's homepage!
 
Reply     « Reply to Forms and Buttons
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10791 seconds with 12 queries