File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Javascript Guru Needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript Guru Needed" Watch "Javascript Guru Needed" New topic

Javascript Guru Needed

Sean Richards

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.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
I am guessing you know how to do the pop up.....
basically all you need to do is this
popup window code
function SendIt(Inf){
<a href="javascript:'SendIt(\'Text\')'">The Link</a>
I agree. Here's the link:
subject: Javascript Guru Needed
It's not a secret anymore!