aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Javascript Guru Needed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Javascript Guru Needed" Watch "Javascript Guru Needed" New topic
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
    
    6
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>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Javascript Guru Needed
 
Similar Threads
Automaticaly capitalising text using Javascript
sending form data to a pop up window
problem with calling jsp page on evenet onSelect/onClick
setting hidden field value using javascipt
Modal Dilag box