Problems with text box counter

hi guys,

i’m having some trouble with a text box counter…

it works perfectly in ff but doesnt work in ie. does any think they may be able to help me please? my code is below:

<textarea name="description" cols="42" rows="5" class="style2" id="description" onkeyup="TextCounter('description', 3000);"></textarea><span class="text_counter" id="description_span">3000 characters remaining</span>

thank you very much and i hope to hear from you.

all the best,

mark