html5

localstorage

local storageif(typeof(Storage)!=="undefined")
{
// Code for localStorage/sessionStorage.
}
else
{
// Sorry! No Web Storage support..
}

html 5 input minimum length text

<input pattern=".{3,}" required title="3 characters minimum”]]>

Tags: 
Subscribe to RSS - html5