You are not logged in.
Pages: 1
Dear Freinds
I'm a new user of Xinha. Actually I have got two problems:
1. I want to get the Raw Text that is written in Xinha to process it, but Only I can get the text with its HTML tags using getHTML() method. I found in its source code that there is getInnerText() method, but I don't know how I can use it. It needs an argument. Could you please help me.
2. Actually, the best tools in the world without a developer guide is not a good tool. Where can I find the Xinha Documentation. I've searched alot but there is nothing. I had to review its source code, but it is not helpful.
I'm looking forward for your helps, because I couldn't continue my project for few days. Thanks in advance.
Majid
Offline
1. getInnerText is only for internal use.
you can use getHTML or getInnerHTML to get the contents of xinha.
...whats the problem with getHTML anyway?
2. xinha doesn't have much documentation
this is a part that needs to be improved!
....what would you expect in such a "developer guide"?
Niko
Offline
Thank you very much
I explain my problem again...
I want to get the text that user write in Xinha editor.. getHTML() give me the text with HTML tags but I don't need the HTML tags for specific proccess... how I can get rid of HTML tags?
Thanks in advance.
Mjaid
Offline
are you using a backend? if your using PHP you can easily use the strip_tags() command and get the desired result...
Offline
Pages: 1