ignoring

How to ignore first entered character to be zero in a textbox with jQuery

Hi, Basically, I do not want the user to enter '0' (zero) as the first character in a textbox which represents data with type of integer? I would like to bind an event handler to handle this with jQuery. Any experience? Thanks, ...

JavaScript: count minimal length of characters in text, ignoring special codes inside

I want to ignore counting the length of characters in the text if there are special codes inside in textarea. I mean not to count the special codes characters in the text. I use special codes to define inputing smileys in the text. I want to count only the length of the text ignoring special code. Here is my approximate code I tried to ...