Hey. There is such a form.
<textarea id="comments-form-comment" name="comment"></textarea> <a onclick="comments.saveComment();return false;" >Отправить</a> How to make a check. So that if there is a link or a specific word in the textarea (Например слово тест ) , clicking on the Отправить link will display a message in the warning box. And after that to send the form did not occur.
Here is the full form code.
<form id="comments-form" name="comments-form" action="javascript:void(null);"> <textarea id="comments-form-comment" name="comment"></textarea> <a href="#" onclick="jcomments.saveComment();return false;">Отправить</a> </form>
jquerytag for what purpose? When sending a form, get text fromtextarea, look for words or links there. What is your problem? - teran