<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM>
TextArea tab test<BR><BR>
<TEXTAREA VALUE="" NAME="BOX_A" ROWS=15 COLS=39 onkeydown = "return handleTab(event)"></TEXTAREA>
</FORM>
<SCRIPT type="text/javascript">
function handleTab(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode;
if (charCode == 9)
{
if (document.selection != null)
{
document.selection.createRange().text = "\ x 0 9"; //remove the space when
}
else
{
evt.srcElement.value += "\ x 0 9"; //remove the space when
return false;
}
return false;
}
return true
}
</SCRIPT>
</BODY>
</HTML>
<HEAD>
</HEAD>
<BODY>
<FORM>
TextArea tab test<BR><BR>
<TEXTAREA VALUE="" NAME="BOX_A" ROWS=15 COLS=39 onkeydown = "return handleTab(event)"></TEXTAREA>
</FORM>
<SCRIPT type="text/javascript">
function handleTab(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode;
if (charCode == 9)
{
if (document.selection != null)
{
document.selection.createRange().text = "\ x 0 9"; //remove the space when
}
else
{
evt.srcElement.value += "\ x 0 9"; //remove the space when
return false;
}
return false;
}
return true
}
</SCRIPT>
</BODY>
</HTML>