How to prevent the symbol "&" from being replaced by "&

Posted by tonsils on Stack Overflow See other posts from Stack Overflow or by tonsils
Published on 2010-06-08T13:43:00Z Indexed on 2010/06/08 14:32 UTC
Read the original article Hit count: 140

Filed under:
|
|
|

Hi,

Hoping someone could pls let me know how to prevent the symbol "&" from being replaced by "&" within my URL, specifically within javascript?

Just to expand on requirement, I am getting my url from an oracle database table, which I then use within Oracle Application Express, to set the src attribute of an iframe to this url.

FYI, the url stored in the Oracle table is actually stored correctly, i.e.

http://mydomain.com/xml/getInfo?s=pvalue1&f=mydir/Summary.xml

what appears in my use when trying to pass over into iframe src using javascript is:

http://mydomain.com/xml/getInfo?s=pvalue1&f=mydir/Summary.xml

which basically returns a page cannot be found

Hope this clarified further my issue.

Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html