R
Ravi Katta
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 <p>1234</p> 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.
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 <p>1234</p> 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.