Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 72
Name: Michael Stubbs
Location: Warrington, UK
Trades: 0
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
 
 
Register now for full access!
Old 09-30-2005, 02:51 AM
ScriptReference's Avatar
Average Talker

Posts: 25
Location: Reno, NV
Trades: 0
Example:
[code]
<input type="text" id="my_textbox" /> <img src="my_image.ext" onClick="document.getElementById('my_textbox').val ue='my textbox value.';" />
[code]
__________________

Please login or register to view this content. Registration is FREE
ScriptReference is offline
Reply With Quote
View Public Profile Visit ScriptReference's homepage!
 
Reply     « Reply to Forms and Buttons
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





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



Page generated in 0.27419 seconds with 12 queries