954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

ajax+ jquery codenot reading data from xml

i wrote this code but noting happens.. can't find the error. even firebug is empty :(
please help soon!

$(document).ready(function(){
	$.ajax({
		type: "GET",
		url: "tinymce.xml",
		dataType: "xml",
		success: function(xml) {
			$(xml).find('userdata').each(function(){
				$(this).find('dataset').each(function(){
					var title = $(this).find('redo').text();
					var id = $(this).find('redo').attr('id');
				 	//var url = $(this).find('url').text();
					alert(id);
					//$('<div class="items"></div>').html('<a>'+title+'</a>').appendTo('#system');
				});
			});
		}
	});
});
Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

ok found it thanxx :)

Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: