Category : validation

having trouble with this code.. How can a validate a form using the document object model? Need to test ny the type, not the ID.. see code snippet.. <!DOCTYPE html> <html><head><meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″> <title>Validate me</title> <script> function validateMe(){ return false; } </script> </head> <body> At least one piece of data has to come in ..

Read more