TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Cenk Isik
NA
44
30.5k
Read Xml From Website in jquery
Jul 12 2012 2:01 AM
I want to read xml website in jquery .Acctually I read xml from local xml file but I dont want this . My code is here probably there is another way to do it
<script type="text/javascript">
$(document).ready(function(){
$.ajax({
url:"http://xml.alexa.com/data?cli=10&dat=nsa&url=gomm.com.vn",
type:"GET",
dataType: "xml",
success: parseXml
});
});
function parseXml(xml) {
$(xml).find("ALEXA").each(function() {
$("#output").append($(this).attr("VER") + " ");
}); }
</script>
Reply
Answers (
2
)
What is the basic difference between JQuery and JavaScript
What is the most useful plugin in jquery ?