I cannot get filter string
"<div>"
for input textfield
<div contenteditble.
i have in admin side <div contenteditable.....
and any times it happen that users insert string
<div>
in input text when we copy - paste text
data from other text editors.
when <div>
is saved, the page does not load
properly.
i have tried
var axtbody = axtbody.replace("<div>",'');
or
var axtbody = axtbody.replace(/<div>/,'');
but it is not working.
I want to obtain filter for input text when
"<div>"
string is disallowed for input in
textfield and for example
is allowed or any other char or accents is allowed.