Go Back   Velocity Reviews > Newsgroups > PERL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

PERL - Return a return value from Perl to Javascript

 
Thread Tools Search this Thread
Old 07-24-2003, 10:20 AM   #1
Default Return a return value from Perl to Javascript


Hello,

I have a form in which the user can enter a query in a query language.
The form is submitted to a perl script that checks if the syntax is OK
and if yes, execute the query and generates a html result page. If
the syntax is not OK, I want the client to display an error message,
in a small pop up window on top of the page from which the form was
submitted. The appearance of the pop up windows must be triggered if
the return value of the perl script is 1. Generating a pop up window
with javascript is easy, but how can I obtain the return value from
the perl script in Javascript ?
I considered the use of cookies, but in case a browser has disabled
them this won't work.
Any ideas?

Thanks.

Peter van der Kamp


PvdK
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump