[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

tinyMce validation problem?

Ravi Katta

8/26/2008 1:36:00 PM

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.
--
Posted via http://www.ruby-....

1 Answer

Mark Thomas

8/26/2008 2:09:00 PM

0

On Aug 26, 9:35 am, Ravi Katta <ravivardhanka...@gmail.com> 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.