File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript Guru Needed

 
Sean Richards
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic