in reply to Selecting CGI::Application with jQuery AJAX

...

Read http://api.jquery.com/jQuery.ajax/: The ajax method expects the data in the data key of the settings object, not in the settings object. The data may be an object, an array or a string.

Example, stolen from the same page:

$.ajax({ method: "POST", url: "some.php", data: { name: "John", location: "Boston" } // <-- look here! }).done(function( msg ) { alert( "Data Saved: " + msg ); })

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)