Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^6: Perl CGI redirect

by poj (Curate)
on Apr 17, 2013 at 20:31 UTC ( #1029220=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Perl CGI redirect
in thread Perl CGI redirect

The parameter order should not normally matter but if it does just revise the javascript as follows

my $JSCRIPT=<<EOF; function clickme(){ var URL = 'http://a.com:8080/bms/healthMonitor.do?method=redirect' + '&operation=BackupHistorySearch' + '&subOperation=GetReport' + '&clientName=' + document.getElementById("ta").value + '&fromDateStr=$FM&toDateStr=$TM' // comment out if or remove when working OK if (confirm(URL)==true) { window.open(URL) }; } EOF
poj


Comment on Re^6: Perl CGI redirect
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029220]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-07-14 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (256 votes), past polls