XML tag link to other tag within same xml jquery phonegap

Blackodin

New Member
I want to link xml tag to another xml tag which opens in new page. For example this is my xml link: http://www.guitarmaddy.com/index.php?option=com_dmxmlexport&catid=8 I have used this code to display title (tag) as lists :\[code\]\[code\]$(document).ready(function(){ $.ajax({ type: "GET", url: "http://www.guitarmaddy.com/index.php?option=com_dmxmlexport&catid=8", dataType: "xml", success: function(data) { $(data).find('articleset article').each(function(){ var title = $(this).find('title').text(); $('.articlelist ul').append($('<li>' + title + '</li>')) }); }, error: function() { $('.articlelist').text('Failed to get Song Lists'); } }); }); \[/code\]\[/code\]Which is displays:
title1
title2
..
titlen
Now I want to link each title so that when I click on title then it will open fulltext(tag, from xml file) as html in a new page. How should I proceed.My html code:\[code\]<body><h1>Guitar Maddy</h1> <div class="articlelist"> <ul></ul> </div></body> \[/code\]
 
Back
Top