jQuery $().find problem
Posted
by Titanous
on Stack Overflow
See other posts from Stack Overflow
or by Titanous
Published on 2008-09-24T17:38:36Z
Indexed on
2010/03/19
15:31 UTC
Read the original article
Hit count: 189
JavaScript
|jQuery
I'm trying to get the contents of a XML document element, but the element has a colon in it's name.
This line works for every element but the ones with a colon in the name:
$(this).find("geo:lat").text();
I assume that the colon needs escaping. How do I fix this?
© Stack Overflow or respective owner