View Full Version : Apply php function in extjs

25 Oct 2012, 3:45 AM
I want to add html_entity_decode on a field in extension js. I have a field named page_header. Now I want to apply html_entity_decode on this field. Is this possible in ext js.
Thanks in advance

Tim Toady
25 Oct 2012, 5:29 AM
Will http://docs.sencha.com/ext-js/4-1/#!/api/Ext.String-method-htmlDecode work for you? I don't think it is a perfect match, but it serves the same purpose. Also why do you have it encoded if thats not how you want it to appear? Is it based in input?