How to go next field without filling the text? Which function should use.Phone No Text validation in javascript?
What is the main difference between Client side JavaScript and and Server side Java Script. How actually they run on both side with Example?
Latest Answer : JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language (a scripting language is a lightweight programming language) A JavaScript consists of lines of executable computer code A JavaScript is usually embedded directly ...
Latest Answer : //Javscript code pagination.js file===========function Pager(tableName, itemsPerPage) { this.tableName = tableName; this.itemsPerPage = itemsPerPage; this.currentPage = 1; this.pages ...
Latest Answer : var reg = /^([A-Za-z0-9_-.])+@([A-Za-z0-9_-.])+.([A-Za-z]{2,4})$/; var address = document.form1.email.value; if(reg.test(address) == false) { alert('Invalid Email Address'); document.form1.email.focus(); return false; } ...
What is flapjax and what are its benefits compared to javascript . How it converts flapjax code to javascript code during compilation
Latest Answer : Using J Query ...
Write a code to get the text box data and to check each and every char?
Latest Answer : Read the input textCheck the length of the string Substract the length by one And then keeping doing this till end of the string. ...
Latest Answer : for example form validation:function formvalidation(form){if (nonempty(form.req1)){if (nonempty(form.req2)){return true;}}return false;}function nonempty(elem){char str=elem.value;if(str.length==0){alert("u ...
Latest Answer : getElementById(""); ...