richiec Posted December 26, 2011 Share Posted December 26, 2011 Hey all, having a little issue with this script when using IE, everything works fine in firefox but when I open it up in IE there is no text box and the page has the following error Message: Invalid source HTML for this operation. Line: 808 Char: 6 Code: 0 URI: http://fspgeastmidlands.com/index2/scripts/wysiwyg.js Line 808 is textarea.insertAdjacentHTML("afterEnd", editor); Any idea how to get this to work in IE I don't want to have people download firefox to be able to use the website backend pages. Link to comment https://forums.phpfreaks.com/topic/253859-wysiwyg/ Share on other sites More sharing options...
richiec Posted January 2, 2012 Author Share Posted January 2, 2012 Anyone? :'( Link to comment https://forums.phpfreaks.com/topic/253859-wysiwyg/#findComment-1303183 Share on other sites More sharing options...
AyKay47 Posted January 2, 2012 Share Posted January 2, 2012 well, since you are injecting a string, you will need to wrap editor in quotes. textarea.insertAdjacentHTML("afterEnd", editor); unless editor is a variable? Link to comment https://forums.phpfreaks.com/topic/253859-wysiwyg/#findComment-1303197 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.