Add content from xml
Add content from xml
Hi, My first post.
Trying to get data from xml file. Got it.
Trying add data in class - need help
- $(this).find('Category').each(function(){
var menuItem = ($(this).find('Label:first').text())
$(".DfMenu").text(menuItem)
alert(menuItem)
problem -there are 4 menu item. alert shows up right but it add same data in all menus one by one.
Question - how can I add four different menu item in four divs that is using the same class.
Thank you