I have a Ajax.Request in a function if i use the parameters: pars
feature the query string does not get passed to the apache web log
what is the best way to address this issue? The first code sample does
not pass to the Apache web log but the second does but its not a fix
its just a workaround.
someFunction(request) {
pars = "?tried_to_access="+request;
url =baseUrl+"dir/somefile.php";
var myAjax = new Ajax.Request
(
url,
{
method: 'post',
parameters: pars
});
}
this will work but it does not use the Parameter option.
someFunction(request) {
pars = "?tried_to_access=";
url =baseUrl+"dir/somefile.php"+pars+request;
var myAjax = new Ajax.Request
(
url,
{
method: 'post',
});
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---