[jQuery] Re: No ajax response from Firefox?

2010-01-04 Thread Paul Hutson

> For the purposes of testing, I have been calling this PHP script:
>
>  echo "response";
> ?>

Instead of the echo "response"; try creating a span with the id
response.  i.e. Write to here



[jQuery] Re: No ajax response from Firefox?

2010-01-03 Thread mitchmaster
Here is the code. I have also tried this using the $.post method
rather than the $.ajax method with identical results.

function posthtml() {
$.ajax({
type: "POST",
url: "response.php",
data:   "pagehtml=" + encodeURIComponent
(innerHTML=document.getElementById('main').innerHTML),
success: function(html){
$("#response").html(html);
}
});
}


For the purposes of testing, I have been calling this PHP script:





Thanks again,

mitchmaster


[jQuery] Re: No ajax response from Firefox?

2010-01-03 Thread Paul Hutson
Could you post an example of your code
that isn't working please?