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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:48:54+00:00 2026-06-06T16:48:54+00:00

For some days i´m battling with this issue: i´m using Jquery to extract data

  • 0

For some days i´m battling with this issue: i´m using Jquery to extract data from a XML and place it on Google Maps V3 as markers, but it doesnt place any marker on Chrome and Opera, after some debugging i found out the problem is in this lines:

  var lat = $(this).find("geo\\:lat").text();      
  var lng = $(this).find("geo\\:long").text();

In the XML is , i need to remove the “:”.

While in FF and IE the “\” to remove “:” works perfectly, on Chrome and Opera doesnt work..but if i go to the XML and remove the “:” from that field and run the code using this lines, it works perfectly.

  var lat = $(this).find("geolat").text();      
  var lng = $(this).find("geolong").text();

This is a simplified version that replicates the error on Chrome and Opera
http://dl.dropbox.com/u/15802004/teste.zip
To replicate the error, this is the comment/uncomment lines.

//url: "teste1.xml",     
  url: "teste2.xml",

(and...)        

    //var lat = $(this).find("geo\\:lat").text();            
   //var lng = $(this).find("geo\\:long").text();             
      var lat = $(this).find("geolat").text();      
      var lng = $(this).find("geolong").text();

I appreciate any help

  • 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-06-06T16:48:55+00:00Added an answer on June 6, 2026 at 4:48 pm

    This is a known, but still unfixed bug.

    You may use getElementsByTagNameNS() instead(works in FF,Chrome & Opera) and $.find() as a fallback for IE.

    Example for geo:lat:

    var lat =(( $.browser.msie )
               ? $(this).find('geo\\:lat')
               : $(this.getElementsByTagNameNS('http://www.w3.org/2003/01/geo/wgs84_pos#','lat'))
             ).text();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an inline jquery ui datepicker that has some days disabled, like this
i was triyng for some days a way to do this using only MySQL
some days are just like this. Ok, I'm trying to fetch some text using
Google announced the Analytics Data Export API some days ago, thereby making it much
I have been struggling with this issue for some days now and I really
I've been using jQuery for some days now, just trying to get use to
Some days ago I started using partitioning to make it possible to work with
I posted some days ago this question: How to intersect multiple polygons? . Now
I use some HTTP Handlers from my Web Forms days forms, to for example
i created this ticked some days ago. http://trac.symfony-project.org/ticket/8922#preview I'm interested in creating a patch

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.