|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How can link text appear in a text box when clicked?
I have something like this:
<a href="blah.html">link text</a> <input name="name"> And I want "link text" to appear in the input box when it is clicked. Is there any way to do this? |
|
#2
|
|||
|
|||
|
RE: How can link text appear in a text box when clicked?
below is a small example...
<form> <input type="text" name="link" /> <a href="#" onclick="document.forms[0].link.value ='link text';return false;">Link Text</a> </form> I am assuming that the link should not actually go to a new page or that would defeat the purpose. If I am barking up the wrong tree, let me know. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > How can link text appear in a text box when clicked? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|