Javascript

Topic: JS Validation

How do you check validations in Javascript?

for example form validation:
<html>
<head>
<script type="javascript">
function formvalidation(form){
if (nonempty(form.req1)){
if (nonempty(form.req2)){
return true;}}return false...

Browse random answers: