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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:40:54+00:00 2026-05-20T17:40:54+00:00

I have been researching for the last two hours, and have found nothing. Basically,

  • 0

I have been researching for the last two hours, and have found nothing.

Basically, I am using AJAX to load the page: “/API/images.vif”
/API/images.vif’s source:

<div id="recommended_images">This will appear in the featured images box.</div>
<div id="latest_images">This will appear in the latest images box.</div>

With ajax, I want to load the above code, and get the contents of “recommended_images” – is this possible? It’s coming from a different domain, my other website, so I was thinking it wouldn’t work due to security.

  • 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-20T17:40:55+00:00Added an answer on May 20, 2026 at 5:40 pm

    Assuming you get the security issue worked out, you have jQuery, and the contents of /API/images.vif have been saved to a variable named “result”, you could do:

    var $temp = $('<div></div>').append($(result));
    var contents = $("#recommended_images", $temp).html();
    

    The value of the “contents” variable will then contain any html in the recommended_images div.

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

Sidebar

Related Questions

I've been researching all over for this, basically I have a table that displays
I have been researching this one for awhile. I found several resources on the
I have been researching about the headless browsers available till to date and found
I have been researching asynchronous messaging, and I like the way it elegantly deals
I have been researching and playing with functional programming lately, solely to broaden my
I have been researching options for printing report-like data via a web application. Some
I have been researching audit triggers for some of my sql tables. I came
I have recently been web-researching quantum computing. Will we see these in our lifetimes
We have been using CruiseControl for quite a while with NUnit and NAnt. For
I have been working on a web services related project for about the last

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.