HELP AJAX and Javascript not JQuery pls.!
I have a page in which i can add, del, modify employee details using buttons. now whn i press add button it shud produce the form below those buttons using ajax. the same way whn i press del and modify it shud generate the form below these buttons.. here is my index page.
PLS help i'm new to ajax..
I have a page in which i can add, del, modify employee details using buttons. now whn i press add button it shud produce the form below those buttons using ajax. the same way whn i press del and modify it shud generate the form below these buttons.. here is my index page.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" type="text/css" href="mini.css" /> </head> <body> <div id="outer" align="center"> <h1> Welcome!!</h1> <h2>Click on a button to perform a specific operation!!</h2> <form> <a href="add.html"><input type="button" value="Add"/></a> <a href="modify.php"><input type="button" value="Edit" onclick="edit()"/></a> <a href="del.php"><input type="button" value="Delete" onclick="del()" /></a> <a href="seek.php"><input type="button" value="Search" onclick="seek()" /></a> <a href="view.html"><input type="button" value="View" onclick="view()" /></a> </form> </div> </body> </html>
Comment