Hide submit button
<!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=ISO-8859-1" /> <title></title> <style type="text/css"> .buttonSubmitHide { display: none; } </style> <script language="JavaScript" type="text/javascript"> function classChange(styleChange,item) { item.className = styleChange; } </script> </head> <body> <h2>Order Confirmation</h2> <form action="login.php" method="post" onsubmit="classChange('buttonSubmitHide',submit); return true;"> <div align="center"> <p>Are you sure?</p> <label for="uname">Final Price:</label> <input type="text" name="uname" id="uname" value="$7.95" /> <input type="submit" name="submit" value="submit" class="buttonSubmit" /> </div> </form> </body> </html>