1
116
I created this script so in a 'textarea' with a MAX character count, the user
can see what the count remaining is. I am trying to have the text write with
a font size of (1 8pt). Can someone tell me what I am missing?
<script type="text/javascript">
function charleft()
{
with (document.forms[0])
{
var txtcnt = (S1.value.length)
var cmnt = "Characters Remaining "
var txtmax = '100'
var txtrmn = txtmax - txtcnt
var rmnstr = (cmnt.concat(txtrmn))
document.getElementById("CL").innerHTML = rmnstr;
}
}
</script>
Thanks
David
can see what the count remaining is. I am trying to have the text write with
a font size of (1 8pt). Can someone tell me what I am missing?
<script type="text/javascript">
function charleft()
{
with (document.forms[0])
{
var txtcnt = (S1.value.length)
var cmnt = "Characters Remaining "
var txtmax = '100'
var txtrmn = txtmax - txtcnt
var rmnstr = (cmnt.concat(txtrmn))
document.getElementById("CL").innerHTML = rmnstr;
}
}
</script>
Thanks
David