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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:06:35+00:00 2026-05-23T09:06:35+00:00

I have setup some code on JSFiddle. The jQuery :contains selector works fine in

  • 0

I have setup some code on JSFiddle. The jQuery :contains selector works fine in Firefox, Safari and Chrome but not in Internet Explorer 7, 8 or 9.

The working code is located here.

http://jsfiddle.net/2nhUt/18/

I made the XML a variable for display purposes, but when the JSFiddle is opened in IE the Result doesn’t show up. I have read a lot where people have the :contains selctor working in IE, and I am not sure what the issue is.

Any assistance would be appreciated.

If there is a better way of displaying the latest article in a RSS feed where the title contains “QA” that would be helpful too.

Thank you.

  • 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-23T09:06:35+00:00Added an answer on May 23, 2026 at 9:06 am

    As alex mentioned in the comments putting & in xml is not valid. Replacing that with & in both cases in the string works fine in IE8.

    Oh, and in your html there was an extra </div> caused by a <div/></div> in the middle somewhere.

    I also threw in a parseXML since I’m assuming your GET returns the datatype as XML.

    Forked jsfiddle that works in IE8.

    Here is a XML validator – I just popped that in and it points to the & (i thought at first there was nesting issues).

    If you can’t control the source, you might do a quick regex to fix it (not suggested).

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

Sidebar

Related Questions

I have some setup code in my functions.php file that sets permalinks and adds
I have setup some basic code that triggers on focus of various input fields:
I've created some MbUnit Test Fixtures that have SetUp methods marked with the SetUp
I have setup web dav on windows server 2008. It seems to work fine
Setup Have you ever had the experience of going into a piece of code
I'm trying to setup some code to print to different trays on a photo
I have been reading SO for some time now, but I truly cannot find
I have a controller that extends Zend_Controller_Action. It contains some actions that I need
I have written a static library to re-use some code between iOS projects, let's
I have a server set up with IIS, and my site has some pages

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.