Posted by encepif on 08/25/07 18:24
Hopefully someone can give me definitive answer:
What steps can I take to do this process, so no breakdowns in
presentation occurs when I use,
<script>
document.getElementById("somewhere").innerHTML = '<?print
$someblog[0];?>'
</script>
<div id=somewhere></div>
So, someblog[0] might have weird characters, un-escaped whatevers,
that clog of the div presentation. I am not sure what to catch or
what converters to use. What are basic considerations & science do I
need to apply to the string prior to presentation in the div? :-)
Thank you for assistance. Have a good day.
[Back to original message]
|