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 3309994
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:42:24+00:00 2026-05-17T21:42:24+00:00

Ok I am working with WolfNet IDX solutions (a housing search provider). They provide

  • 0

Ok I am working with WolfNet IDX solutions (a housing search provider). They provide script to return search results which is directed to a page on their server. However, the client wants to have the page placed into an iframe within their own site so that the layout stays the same.

My question is this:

After the user clicks on the submit button (form tag below)

<form id="searchForm" name="searchForm" class="SearchForm" action="http://www.mlsfinder.com/ncsc_cmls/mollyazahn/index.cfm" method="post" onSubmit="quickSearch(this); return false;">

The website is redirected to another website with the results, what I need is to have the website that gets returned placed into an iframe on another page within the clients site.

How do I go about doing that, and unfortunately there is not other options besides iframe for the client, it has been demanded

Here is the quickSearch Function

function quickSearch(frm) {
                if (document.getElementById('temp_address')){if (frm.temp_address && frm.temp_address.value != "Address") frm.address.value = frm.temp_address.value;}
                if (document.getElementById('temp_zip_code')){if (frm.temp_zip_code && frm.temp_zip_code.value != "Zip") frm.zip_code.value = frm.temp_zip_code.value;}
                if (document.getElementById('temp_property_id')){if (frm.temp_property_id && frm.temp_property_id.value != "MLS Number") frm.property_id.value = frm.temp_property_id.value;}
                frm.submit();
            }
  • 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-17T21:42:25+00:00Added an answer on May 17, 2026 at 9:42 pm

    If the form was posted, you could just set the target to make it load in the iframe, but the function that is called probably doesn’t post the form.

    To make the function load the page in the iframe, you have to change whatever the function does, so that it puts the result in the iframe instead of redirecting the current page.

    So, if the function for example does:

    window.location.href = resultUrl;
    

    you would change it to:

    document.getElementById('IdOfTheIframe').src = resultUrl;
    

    Edit:

    The function does actually post the form (despite the code calling the form stopping the normal post), so you can just set a name on your iframe, and use the target attribute in the form tag to make it post to the iframe.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working on a tiny script that references data between users. Each user has a
Working on a little Ruby script that goes out to the web and crawls
Working on a PHP /html content management system and found Free RTE online which
Working on THIS Page: newsite.702wedding.com/live/ Can't find where to remove the arrows at the
Working on a somewhat complex page for configuring customers at work. The setup is
Working with python interactively, it's sometimes necessary to display a result which is some
Working on a small game using an HTML5 canvas, and javascript. And it's working
Working with an undisclosed API, I found a function that can set the number
Working with Reporting Services 2008 r2. So here's my issue: We have 5 reports
Working with H2 I get this error when I try to write a row

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.