Even with it. I still don't get an alert pop messages saying "DONE"
In order for alert to work, do I need something else?
----edit----
i just tried alert("TEST!"); on the document load... and nothing came up.
There must be something wrong.
-----edit----
- var newContent = $.ajax({
- url: 'getNewPosts.php',
- success: function(){
- $('.posts').prepend(newContent);
- }
- }
- ).responseText;
even with this I still get no responseText
http://k8r.us/test is the testing page. all the jquery is there.
The success function.
http://k8r.us/test/getNewPosts.php exist :/
the jQuery include is there.
This is all very troubling. I can't figure it out
----------------edit--------------------------
I figured it out. The jQuery had an error because some of the targeted objects did not exist.
I thought Javascript ignored this. jQuery may not.