AJAX Comments with jQuery, PHP, and MySQL
Loading...
4,797
Loading...
Uploader Comments (WebDevFTW)
see all
All Comments (13)
-
Nice one
-
how will i know whn u have released a better code with latest php standards?
-
@WebDevFTW great ty :)
-
Need Assistance please with the .$post( 'data.php' { nombre:nombre, email:email, telefono:telefono, mensaje:mensaje} function(response) { $("#commentArea").load("pull.p
hp"); $("#nombre").val("");$("#email ").val(""); $("#telefono").val("");$("#men saje").val(""); } ) return false; Firebug says missing ")" after argument list in function(response) Could you please let me know if I did the $.post wrong? Or do you have the code files availabe for downloading, to check my error?
Loading...
can this be done with a cool fade in effect?
what should I change to make this happen?
btw tnx for tut ... very usefull
tilda1111 6 months ago
@tilda1111 It's pretty easy, when you append a new comment, create the new element and use the fadeIn effect. My best recommendation for this would to be the jQuery documentation on the fadeIn method. ;)
WebDevFTW 6 months ago
Pretty easy to follow, and well done!
Just one thing.. this isn't really working with JavaScript disabled, is it?
miXn 1 year ago
@miXn Well, yeah. If Javascript is disabled, Ajax will not work since it's a javascript tool.
WebDevFTW 1 year ago
@WebDevFTW Sure, I know.. a commenting-system should also work with JS disabled.. just using pure PHP, and uploading the commenting after a site refresh.
miXn 1 year ago
@miXn The point of this tutorial was to show AJAX functionality. I used a commenting system to make a quick tutorial to show AJAX. My main focus for the tutorial was to show AJAX, not a PHP tutorial.
WebDevFTW 1 year ago