lisounder Posted February 10, 2011 Share Posted February 10, 2011 This retrieves the test in all browsers, Firefox, Opera, Chrome, etc., but not in Explorer 8. I get an unknown runtime error using the script debug. Many thanks for any help. <script type="text/javascript"> <!-- get tell a friend body text document.getElementById('textarea_body').innerHTML = '{$form.body|escape:javascript}'; --> </script> Quote Link to comment Share on other sites More sharing options...
iPixel Posted February 10, 2011 Share Posted February 10, 2011 this may be silly, but perhaps try placing textarea_body in double quotes as opposed to single?! my best guess at the moment. Quote Link to comment Share on other sites More sharing options...
lisounder Posted February 10, 2011 Author Share Posted February 10, 2011 Thanks for the suggestion... changed to double quotes but still fails in Explorer 8. Been racking my brain on this one with no luck. document.getElementById("textarea_body").innerHTML = '{$form.body|escape:javascript}'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.