I just realized that the counter on the PayPal site (refund form) worked just fine for me in Firefox. I don't know if it addresses the other concerns you have, or if it would even work with GL, but if I grabbed it all, here it is. Maybe you can borrow some ideas. Coding just aint my thing.
<span class="small">characters left</span>
<script language="JavaScript" type="text/javascript">
var maxStringLength = 255
if (document.focusform.note_to_buyer.value.length == 0)
document.focusform.remLen.value=maxStringLength;
else
document.focusform.remLen.value=maxStringLength
- document.focusform.note_to_buyer.value.length;
</script><input name="form_charset" type="hidden" value="UTF-8">
</form>
I'll PayPal you a few bucks if you can make this work for me man... just had someone else submit a whole bunch of text into my 135 ch/space field - well, tried to at least. I can only assume he was using Firefox since IE seems to work great! Thanks!
------
John Martel
New Age Web Marketing
My GL site
Code:
<input type="text" size="3" maxlength="3" readonly name="remLen" value="255"> <span class="small">characters left</span>
<script language="JavaScript" type="text/javascript">
var maxStringLength = 255
if (document.focusform.note_to_buyer.value.length == 0)
document.focusform.remLen.value=maxStringLength;
else
document.focusform.remLen.value=maxStringLength
- document.focusform.note_to_buyer.value.length;
</script><input name="form_charset" type="hidden" value="UTF-8">
</form>
I'll PayPal you a few bucks if you can make this work for me man... just had someone else submit a whole bunch of text into my 135 ch/space field - well, tried to at least. I can only assume he was using Firefox since IE seems to work great! Thanks!
------
John Martel
New Age Web Marketing
My GL site