dannyhmg has asked for the wisdom of the Perl Monks concerning the following question:
However, this doesn't select the correct Runmode; it always uses the StartRunmode, irrespective of the value of the rm parameter. I've also tried omitting the rm parameter and setting the url to someurl.pl?rm=my_runmode, but no dice. What am I doing wrong here?$.ajax({ type: "POST", url: "someurl.pl", rm: "my_runmode", dataType: "json", error: function (jqXHR1, textStatus1, errorThrown1) { // Do something }, success: function( response ) { // Do something else } } });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Selecting CGI::Application with jQuery AJAX
by Corion (Patriarch) on Apr 14, 2015 at 14:36 UTC | |
|
Re: Selecting CGI::Application with jQuery AJAX
by afoken (Chancellor) on Apr 14, 2015 at 18:13 UTC | |
|
Re: Selecting CGI::Application with jQuery AJAX
by jeffa (Bishop) on Apr 14, 2015 at 16:54 UTC | |
|
Re: Selecting CGI::Application with jQuery AJAX
by graff (Chancellor) on Apr 14, 2015 at 18:01 UTC | |
|
Re: Selecting CGI::Application with jQuery AJAX
by Anonymous Monk on Apr 14, 2015 at 22:57 UTC |