Ajax_jQuery.html <!DOCTYPE html> <html> <head> <title>Ajax jQuery Example</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="Ajax_jQuery.js"></script> </head> <body> <form id="AJ_Form" method="POST" action="Ajax_jQuery.php"> Username <input type="text" name="username" id="username" placeholder="Username"><br> Password <input type="password" name="password" id="password" placeholder="Password"><br> <input type="button" name="submit" id="submit" value="Login"><br> <div id="query_result"></div> </form> </body> </html> Ajax_jQuery.js $(document).ready(function(){ $("...