Posted by Jerry Stuckle on 08/25/07 19:06
encepif@gmail.com wrote:
> 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.
>
Why did you post this to alt.php? There's no PHP code here.
Followup set to comp.lang.javascript only.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|