I'm a beginner of PHP Programmer. My first project customer require me to do validation Form with AJAX. But i never use Ajax before. Anyone could teach me, how to do it? I would like apply it in Registermember.php. Please. Seek someone to help me.
If your new to ajax then i wont be of any help.. Check this out first. http://www.w3schools.com/ajax/default.asp then ill help you in validation
Do you know if there is a reason why standard Javascript won't work? Ajax seems a bit of overkill for some simple form validation.
Standard javascript wont work because i can save your source, delete the validation and post past the javascript checks.. using ajax allows you to pass the data to a php or other script to check which cant be altered via source. without refreshing the page allow you to bring dynamic secure checks
I've found at times when you just want ajax but not the flash of jQuery or prototype, then try Xajax at xajaxproject.org. It works well, is easy to use, but no flash to it. You can create loading messages and do some advanced things with it, plus its fairly lightweight compared to JQuery and others.