[jQuery] Re: Please Help - While Loop PHP & JSON - Comment List

2009-04-29 Thread Jake McGraw
#commentWrapper is the selector for the following element: The JS I provided will append that element if it isn't already present. I did have to make a single change: $(body).append(''); to: $("body").append(''); Also, you should specify the type expected for the $.post call: $.post(url, d

[jQuery] Re: Please Help - While Loop PHP & JSON - Comment List

2009-04-28 Thread fluxUX
This is great. Thanks so much! For some reason the DIV for the "commentWrapper" is not working on the render page..here is what I have: go It appears the code you provided amends the DIV. Any thoughts would be great? On Apr 28, 5:11 pm, Jake McGraw wrote: > You've got quite a few erro

[jQuery] Re: Please Help - While Loop PHP & JSON - Comment List

2009-04-28 Thread Jake McGraw
You've got quite a few errors in both your JavaScript and PHP, which probably explains the lack of answers. Utilizing AJAX using jQuery and PHP can be a bit confusing at first, I've tried to make some sense of what you're doing here: http://snipt.net/jakemcgraw/jquery-listserv-answer-ajax-comment