Re: How to display javascript alert for exceeding text length?

  •  01-20-2011, 1:47 PM

    Re: How to display javascript alert for exceeding text length?

    Eric, Thanks for the code. The HandleChange() function you mentioned checks for HTML length via getHTML(). My requirement is to limit the the total characters that user types in. Does the control have a similar function to check the characters I.e. like getText() or something similar?
     
    One more item. I tried the function you sent it works gr8 on button click event. I need to call the same attach function during load process without having user to click the button. I tried few things without much luck. Any idea on where to call this function? I.e. Is there any onFocus or similar event that I can use in Javascript to call this CE_attachEvent() function? This way, I can have this even fired automatically when user gets focus to edit the data.
     
    Appriciate your help.
View Complete Thread