Category: HTML

How to automatically set the focus to a textbox when a web page loads using jQuery

This post will teach you how to automatically put cursor in form field using jQuery. So when you go to log into a website and the username field doesn’t automatically have the cursor in it when the page loads, you get a little frustrated. HTML Code jQuery Code Complete page source here.

Local Storage using jQuery

Storing information locally on a user’s computer is a powerful strategy for a developer who is creating something for the Website. In this Example, we will look at how to store information on a computer to read later. localStorage is synchronous in nature, meaning when it loads it can block the main document from rendering localStorage does […]