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

  • SEARCH
  • Home
  • 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 1080723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:04:30+00:00 2026-05-16T22:04:30+00:00

I have ( http://science.users.anapnea.net ) a section of html/js that isn’t playing well in

  • 0

I have (http://science.users.anapnea.net) a section of html/js that isn’t playing well in other browsers.

The section in question is an anchor tag that calls a jquery $.get function:

$.get("info.html", function(data){
   $('#page1Content').html(data);
});

This is doing nothing in IE, but works fine in FF and Chrome. The only hint of what might be the problem that I have found is one user reported a content-type error that caused a similar function not to work in IE

I am using meta http-equiv="Content-Type" content="text/html; charset=UTF-8" in the info.hmtl page

Additionally, while the info.html page will load correctly in Chrome, within that page there is a colorbox function to display some inline content. This function works when I go directly to info.html, but not when I load info.html through the $.get request.

Any input on this would be most helpful, and I really hope the formatting on this is correct…(couldn’t find a faq entry regarding markup used within the input box here…)

Thanks.

  • 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-16T22:04:30+00:00Added an answer on May 16, 2026 at 10:04 pm

    For the Content-Type, as I remember, one of the specs says that the raw HTTP header is supposed to override the meta tag (for whatever reason), so you may have to set it via .htaccess (or equivalent if you’re running something other than Apache).

    Also, I think that example code is sub-optimal. As I remember, jQuery has a method for that and what you really mean is $('#page1Content').load('info.html');. (Which may also fix your problem since jQuery sometimes includes workarounds for common issues in the more specialized methods)

    As for the colorbox, my guess is that you’re initializing it via $(document).ready() which will fire before info.html gets included. If that’s the case, you have to explicitly re-trigger it on AJAX load.

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

Sidebar

Related Questions

I have http://jsfiddle.net/ksCSn/1/ HTML <input type=text data-bind= value: title, hasfocus: edit, onEnter: stopEdit />
I have: http://jsfiddle.net/Gkz4v/9/ .pagination li a { float: left; width: 6px; height: 6px; line-height:
We have HTTP webservices that are RPC. They return XML representing the object the
Assuming that we have: http.HandleFunc(/smth, smthPage) http.HandleFunc(/, homePage) User sees a plain 404 page
This is JavaScript regex. regex = /(http:\/\/[^\s]*)/g; text = I have http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd and I
I have an HTTP Module that I use to clean up the JSON returned
I have this simple Lucene search code (Modified from http://www.lucenetutorial.com/lucene-in-5-minutes.html ) class Program {
I have http connection code that does the typical InternetOpen -> InternetConnect -> HttpOpenRequest
I have http://www.mrfishermusic.com/ You'll notice that the main wrapper is 1042px (#main). Then I
I have a basic question. 1- I want to use Science.dll provided at http://www.sciencecode.com/

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.