Disable Enter key on form

If you need to disable JavaScript on your form then apply the following code in the <head> tag. <!– <script language=”javascript” type=”text/javascript”> function checkEnterkey(evt) { var evt = (evt) ? evt : ((event) ? event : null); if (evt.keyCode == 13) { return false; } } document.onkeypress = checkEnterkey; </script> –>

Firefox not detecting form elements populated through AJAX

While working on a PHP script I encountered a problem which was working fine on IE but not on Firefox. I was trying to display a list of records through AJAX and user had to select any one to proceed further. To make sure that the user actually selected and then proceeded I placed a … Read moreFirefox not detecting form elements populated through AJAX

How to use AJAX to check user already exists or not in PHP

AJAX is a wonderful technology that provides the visitor with a “no refresh” experience on the web. With the advent and popularity of Web 2.0 this technology is making progress by leaps and bounds. If you would like to verify whether a user is registered on your website or not then you can use the … Read moreHow to use AJAX to check user already exists or not in PHP