Validate plugin with contenteditable divs
Hi - Is there any way to use the jQuery validate plugin with contenteditable divs? i.e.
- <div id="editme" contenteditable="">Editable Text</div>
What I want to do is something like this:
- $("#editme"[contenteditable]).validate();
I can attach events to the field using syntax like the above. But, since contenteditable doesn't actually create or use a form, I can't figure out what to attach the validate() to. Is there a way to attach a validate() to just a single element without a form?
Thanks!
-steve j