Skip to content

RBLAB

Blog of Riccardo Bartoli about Javascript…(it was all about Flash and Actionscript)

View Riccardo Bartoli's LinkedIn profileView Riccardo Bartoli's profile

Recent Posts

  • My GIT workflow
  • [WordPress Snippet] Get first image from content
  • Connect to Cisco VPN from Mac OS X Lion (10.7)
  • Install Subversion on Mac OS X Lion (10.7)
  • [AS3 SNIPPET] Video loop class

Archives

  • November 2013
  • March 2012
  • November 2011
  • July 2011
  • February 2011
  • January 2011
  • October 2010
  • March 2010
  • September 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • February 2009
  • June 2008

Categories

  • Actionscript 3
  • AIR
  • Conferences/Meetings
  • Eclipse
  • FDT
  • Flash
  • Flash Catalyst
  • Flex
  • GIT
  • Javascript
  • jQuery
  • Mac OS X
  • Papervision 3D
  • Snippets
  • Tips
  • Uncategorized
  • Wordpress

Category: jQuery

[JQUERY SNIPPET] Load an XML file

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function loadXML(filename)
{
    $.ajax({
            type: "GET",
            url: filename,
            dataType: "xml",
            success: parseXml
    })
}

function parseXml(xml)
{
    // Parse your xml here
}

loadXML('example.xml')
Posted on Jan 24, 2011Jan 25, 2011Categories Javascript, jQuery, SnippetsTags Javascript, jQuery, SnippetsLeave a comment on [JQUERY SNIPPET] Load an XML file

Posts navigation

Previous page Page 1 Page 2
Proudly powered by WordPress