Monday, 2 July 2012

Comment system with jQuery, Ajax and PHP.

6 comments
  Live Demojavascript code. <script type="text/javascript" src="jquery.js"></script><script type="text/javascript" >$(function() {$(".submit").click(function() {var name = $("#name").val();var email = $("#email").val();var comment = $("#comment").val();var dataString = 'name='+ name + '&email=' + email + '&comment=' + comment;if(name=='' || email=='' || comment==''){alert('Please Give Valid Details');} else {$("#flash").show();$("#f
newer post
older post