Posts

Showing posts from March 11, 2013

Form Validation

<!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>Msc I.T F11 A32</title> <style type="text/css"> .font{     font-size:20px;     font-family:"comic sans ms"; } .check{     font-size:16px;     font-weight:bold;     }     .error{         #FFF;         font-size:18px;         font-weight:bold;         display:none;     } </style> <script type="text/javascript"> function clear_text( val){     document.getElementById(val).style.display = 'none'; } function validate(){  var fname = document.getElementById...

Form Validation

<!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>Msc I.T F11 A32</title> <style type="text/css"> .font{     font-size:20px;     font-family:"comic sans ms"; } .check{     font-size:16px;     font-weight:bold;     }     .error{         #FFF;         font-size:18px;         font-weight:bold;         display:none;     } </style> <script type="text/javascript"> function clear_text( val){     document.getElementById(val).style.display = 'none'; } function validate(){  var fname = document.getElementById...