Skip to content Skip to sidebar Skip to footer

No Line Break With Jquery .append()

I'm parsing a XML using jQuery with the following code: function appendNav(xml) { $(xml).find('Nav').each(function() { $('#navBar').append('

Solution 1:

Try changing the div to a span


Post a Comment for "No Line Break With Jquery .append()"