Thursday, April 16, 2009

To move next field when control reaches maxlength

function checkLen(x,y)

if (y.length==x.maxLength)

var next=x.tabIndex;
if (next document.getElementById("form1").elements[next].focus();






Thursday, April 9, 2009

Auto Refresh the Page in Javascript