Aha, but won't work so well with JSON response, right?
I do check XHR in my PHP script and I thought it would work doing
something like this:
$xhr=$_SERVER['HTTP_X_REQUESTED_WITH']=='XMLHttpRequest';
if(!$xhr)
{
print("".$json."");
}
else
{
print($json);
}
That way I thought that if I
I have a image edit form where the user can upload a new image and/or
edit image information such as title, description etc. Since I use the
jQuery Forms plugin for most of my other forms I wanted to use it here
as well, but last night I encountered a little problem...
I use JSON for the return d
2 matches
Mail list logo