
|
|
|||
Attribute for
<TEXTAREA ...>
<SCRIPT TYPE="text/javascript">
<!--
function setupper(myfield)
{
if (myfield.inchange)return;
myfield.inchange=true;
myfield.value=myfield.value.toUpperCase();
myfield.inchange=false;
}
//-->
</SCRIPT>
This script accepts a field object as input, the resets the value of the field to upper case. We can then call the script in the
<TEXTAREA ROWS=10 COLS=20 NAME="IDlist" onChange="setupper(this)" ></TEXTAREA>
Notice that the one argument for the script is
Copyright Idocs, Inc. Written by Miko Sullivan |
|||
| About the NetVisits, Inc Network | Advertise Developer Tutorials hosted by HostGator. Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy. |