View Full Version : Ajax Response Text Empty

10-03-2007, 02:22 AM
Hey All,

I've been working with Javascript for a while and I'm utilizing the MooTools library on the site I'm building.

I have the strangest thing happening - I'm experimenting with an inline-editing script and I set up an ajax post that will eventually update the db with the data input, right now I have it just set to update the page with the response text - except no response text.

Looking in Firebug I can see it posting - when I input the parameters on the actual posting page, the page echos back the parameters - so the ajax part IS working - but for some reason my div gets cleared to an empty container.

I've Googled a bit and can't seem to find an explanation.

Upon page load my div looks like this:

<div id='ajax'>Results Here</div>

After the post completes it looks like this:

<div id='ajax' />

You can check out a test page of this at:

www.buzzgrind.net/test_inline.php (http://www.buzzgrind.net/test_inline.php)

Thanks for any help.


10-03-2007, 02:36 AM
Nevermind - I found it LOL - geez I must be losing my mind.