Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 841595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:49:19+00:00 2026-05-15T05:49:19+00:00

I am looking to prevent the symbol & from being replaced by & within

  • 0

I am looking to prevent the symbol “&” from being replaced by “&” within my URL, specifically within JavaScript.

Just to expand on this 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://example.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://example.com/xml/getInfo?s=pvalue1&f=mydir/Summary.xml

which basically returns a page cannot be found

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:49:19+00:00Added an answer on May 15, 2026 at 5:49 am

    I suspect you are doing something like this:

    1) Selecting the URL text from the database into an Apex page item.

    2) In Javascript, getting the URL text from the page item and using it to set the iframe source.

    When you select the value in step 1, Apex will automatically replace the “&” by “&” so that the page HTML is valid – it will be something like:

    <input type="hidden" id="P1_URL" 
     value="http://mydomain.com/xml/getInfo?s=pvalue1&amp;f=mydir/Summary.xml" />
    

    You will therefore have to reverse the transformation in your Javascript code – something like:

    document.getElementById('myIframe').src = $v('P1_URL').replace('&amp;','&');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking to prevent session hijacking in my ASP.NET application and came across this
so I am looking into PowerManager to prevent phone from going to sleep. Two
I'm looking for a way to prevent a user in SharePoint from deleting his
I'm looking for ways to prevent indexing of parts of a page. Specifically, comments
I'm looking for a way to prevent multiple hosts from issuing simultaneous commands to
I'm looking for a way to identify data, such that I prevent it from
I'm looking for a way to prevent triggers from firing during a synchronization in
How do you prevent a file descriptor from being copy-inherited across fork() system calls
I'm looking for a script to prevent the user from hitting the submit button
Looking for a way to prevent jquery from adding the ui-tabs-selected and ui-state-active to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.