Javascript API trim function

  •  01-28-2009, 4:57 PM

    Javascript API trim function

    Hi,
     
    I need to clear the whitespace \ linefeeds at the beginning and end of CE content before I submit the form. Does CE have some kind of trim function that I could use for this?

    Note: Line feeds seem to be entered as <div>&nbsp;</div>
    Filed under:
View Complete Thread