Sorry for my bad English :S
Hi, I'm trying to make a simple jquery validator.
My main problem is I don't know how to check how many caracters are in the textarea (which has been transformed by jwysiwyg).
I mean, I have this:
if($("#textarea").val().length < 3) ...
But obviously, it doesn't works. I've tried with $(".wysiwyg") and neither. Then I realised that jwysiwyg creates a whole html document, with its head, body...
I don't know how to do it.
Thank you so much
Hey dumb, try with
dwr.util.getValue("jwysiwyg") //Its a dwr utility to get the value of an element.