| Author |
Javascript Guru Needed
|
Sean Richards
Greenhorn
Joined: Feb 02, 2002
Posts: 8
|
|
Hi I'm working on a project that requires the use of javascript. I have a page that has a form. If a user clicks on the submit button without entering text in a specific field a smaller window will pop-up with some links. When the user clicks on one of those links in the smaller popup window, the field in original window will be populated with some data that in the link. Does anyone know how to do this in javascript? I tried using query strings but that only works in jsp and cgi and this needs to be in javascript. thanks
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
I am guessing you know how to do the pop up..... basically all you need to do is this popup window code <script> function SendIt(Inf){ parent.document.FormName.ElementName.value=Inf; } <script> <a href="javascript:'SendIt(\'Text\')'">The Link</a>
|
 |
 |
|
|
subject: Javascript Guru Needed
|
|
|