Welcome Guest, Not a member yet? Register   Sign In
jQuery Kills PHP Variables
#7

[eluser]Randy Casburn[/eluser]
That was my thought initially too Colin. When I had this problem with AJAX I thought I recalled it was because I was setting the $data variable in the __contstruct() method and calling the setter() method directly that used $this->data. As spamguy described, when called with an HTTP request it would work fine, but with an XMLHttpRequest it wouldn't. I ran up against a deadline, moved the variable to the setter() method for $data and it worked.

That supports your hypothesis. I'd be curious to know "the rest of the story" as Paul Harvey says.

Randy


Messages In This Thread
jQuery Kills PHP Variables - by El Forum - 10-25-2008, 10:22 PM
jQuery Kills PHP Variables - by El Forum - 10-25-2008, 10:44 PM
jQuery Kills PHP Variables - by El Forum - 10-25-2008, 10:50 PM
jQuery Kills PHP Variables - by El Forum - 10-25-2008, 11:22 PM
jQuery Kills PHP Variables - by El Forum - 10-25-2008, 11:40 PM
jQuery Kills PHP Variables - by El Forum - 10-26-2008, 01:52 AM
jQuery Kills PHP Variables - by El Forum - 10-26-2008, 09:05 AM
jQuery Kills PHP Variables - by El Forum - 10-28-2008, 10:07 PM
jQuery Kills PHP Variables - by El Forum - 10-28-2008, 11:32 PM
jQuery Kills PHP Variables - by El Forum - 10-29-2008, 05:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB