Skip to content
This repository

Counting characters on textarea #302

Nex76 opened this Issue · 1 comment

2 participants

Nex76 gerhardmorgen
Nex76 commented

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.