Update: Fixed error in checking form element name.javascript:(function(windowOrLayer) { if (!windowOrLayer) { windowOrLayer=window; } for (var f=0;f<document.forms.length;f++) { for(var i=0;i<windowOrLayer.document.forms[f].elements.length;i++) { if (windowOrLayer.document.forms[f].elements[i].name == "true" && windowOrLayer.document.forms[f].elements[i].type == "text") { s=""; for(var c=0; c<windowOrLayer.document.forms[f].elements[i].value.length; c++) { ch=windowOrLayer.document.forms[f].elements[i].value.charAt( +c); if (ch >= 'a' && ch <= 'z') { ch = ch.toUpperCase() } else if (ch >= 'A' && ch <= 'Z') { ch = ch.toLowerCase() }; s = s + ch; } windowOrLayer.document.forms[f].elements[i].value=s; } } } })();
In reply to Re: Re: Auto-case swap in the Chatter Box
by sgifford
in thread Auto-case swap in the Chatter Box
by Theo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |