Tag: JavaScript

Html Form validation using one function of javascript

<script type=”text/javascript”> function validateform() { var txtcontrols = document.getElementsByTagName(“input”); for (var count = 0; count &lt; txtcontrols.length; count++) { if (txtcontrols[count].value == ”) { errmsg.innerHTML = “Please Enter ” + […]