Matching multiple CSS media queries using window.match Media() In this tutorial lets get touchy feely with Java Script, but examining its touch related events and how they are used to detect and respond to touch and swipe events.
The other event, onsubmit, validates the form at the end, as the user presses the submit button. This tutorial looks at how to how to streamline the setting of CSS3 property values in Java Script, by checking for and targeting only the version of a CSS3 property the browser supports.Going beyond cookies- Using DOM session Storage and local Storage to persist larger amounts of info HTML5 introduces DOM Storage, a new way of storing data on the client side that overcomes the disk space limitations of Java Script cookies.See how to take advantage of this method in this comprehensive tutorial.
Determining how much the user has scrolled the page using Java Script or j Query Learn how to detect the amount the user has scrolled the page using Java Script or j Query, in either pixels travelled or as a percentage of the whole page.
For example, if you are using a registration form, and you want your user to submit name, email id and address, you must use a code (in Java Script or in any other language) to check whether the user entered a name containing alphabets only, a valid email address and a proper address.