tinyMce validation problem?

Hi,

  i am using the tinyMce text editor in my rails app.But how to

write the java script validation for that textarea?

my validation is:

  In that textarea all numbers are not allowed.

I am getting the data from textarea using
tinyMce.get(“id”).getContent().
but i am getting

1234

this data from above code.

i dont want any html tags.i want only data what we entered in textarea.
how to get that data?

thanks,
Ravi.

On Aug 26, 9:35 am, Ravi K. [email protected] wrote:

But how to
write the java script validation for that textarea?

I think you’ve posted in the wrong forum. This is a javascript
question, is it not? If it has something to do with rails, you may
want to try the Rails-Talk Google group. Otherwise, try
comp.lang.javascript.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs