![]() |
| ||
| html entity decode anybody have a browser compatible html entity decoding function? |
| ||
| Re: html entity decode Found this online and it seems like they all use this concept. function html_entity_decode(str) apparently the innerHTML is giving me a runtime error on ie, i can only use value. But value doesn't decode the html entities. |
| ||
| Re: html entity decode Found a solution: function html_entity_decode(str) this way you can still add the innerHTML, but to a div instead, and it also adds a textarea with it so it can be retrieved by the value of the textarea. then it clears out the div and leaves it blank. Cat skinned. |
| All times are GMT -4. The time now is 6:38 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC