Need validation for removing empty line

Posted by Boopathi on Stack Overflow See other posts from Stack Overflow or by Boopathi
Published on 2010-05-15T14:14:48Z Indexed on 2010/05/15 14:24 UTC
Read the original article Hit count: 123

Filed under:
|

Hi. I have used the tinymce editor in my form. And I have used an validation for checking whether the editor is empty or not. It works for the initial stage. Also, when I press enter and checks for validation the form got submits. When I checked the source code of the editor it contains the information as below:

<p>&nbsb;</p>

Please check it and help me to get me an answer for this.

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript