Hi,
My site:
http://www.orchot-hagilboa.com/index.php?mid=1 My jquery form is working properly in most areas except where i have an online wysiwyg editor.
If you look at the right side of the site, you will see the editor. It creates a textarea form field.
When i send the form, the reply_desc (textarea name) is empty.
I do an alert on that and you can see its empty as well.
The way I grab my textarea is:
[code]
var
comment = jQuery('textarea[name=reply_desc]');
alert(comment.val());
[/code]
To take the value i do the following:
[code]
if
(comment.
val
(
)==
''
)
{
var error =
true;
comment.
addClass
(
'hightlight'
);
return
false;
}
else comment.
removeClass
(
'hightlight'
);
[/code]
If everything is ok, i sent it to get processed in my php page, but it doesnt even get there because the reply_desc is empty.
Can someone tell me why it is not working with the editor, yet it works fine with a basic <textarea> field???
thanks