Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^6: Perl CGI redirect

by poj (Priest)
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 taking refuge in the Monastery: (9)
As of 2015-07-04 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls