|
Posted by Rik on 03/09/07 18:25
<andy.z@blueyonder.com> wrote:
> The following outputs a URL encoded string into an alert box
URL encoding is for, well URL's, not for text, prompt or alerts. Drop
that, unless you want to alert(?) how urlencoding looks like.
> If you remover the URL encoding the alert box doesn't even display
Does here, as long as $tmp is set.
We're not in a javascript group here, and all your issues are related to
javascript itself. Wether this is dynamically build or hardcoded does not
matter to the browser (heck, it doesn't even know it).
Just look at the _source_ of you generated HTML-document, check what's
wrong with the javacript, and adjust the output oh PHP accordingly.
--
Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
[Back to original message]
|