Do to an IE6 bug I need to alter some Jquery,
I want to take an element called #nav, append to the ID.
I already use addClass to create <div id="#nav" class="test">
$('span .breadcrumb').each(function(){
$('#Nav').addClass($(this).text());
Which takes the breadcrumb navigation text and adds it as a new class to the
Can i use .append to add the text to the ID?
Append adds to the content of the element, not its attributes. To do what you’re after, I’d use the following: