Code:
<TEXTAREA NAME="comments" ROWS="10" COLS="50"> <?php echo $comments; ?> </TEXTAREA> this is a very simple question. the textarea above automatically adds three tab spaces at the beginning. as a result, when i try to check it using javascript: if(theform.comments.value == "") { //some code here }
Please enclose any code within the proper code tags. See the Posting Guidelines on how to do that. - moderator
Comment