I know that this problem is raised here, but I have not yet found a viable solution for my situation, so I would like, but the brain returned the work and looked at what can be done.
I have textarea in a form that should detect when something is inserted into it and clear any hidden HTML and quotation marks. The contents of this form are emailed to a third-party system, which is particularly annoying, so sometimes even encoding the characters of an html object will not be a safe bet.
Unfortunately, I cannot use something like FCKEditor, TinyMCE, etc., in which case it should remain a normal text field. I tried to open the FCKEditor patch from the word function, but did not manage to trace it.
However, I can use the jQuery library if necessary, but have not yet found the jQuery plugin.
I am specifically looking for information designed to clean up embedded information, and not how to control an element to change content.
Any constructive help would be greatly appreciated.
source
share