I will be using some jQuery below this chunk of code (which I may rewrite as jQuery). jQuery is loaded. But I don't understand why, when I step through this code in the debugger, the debugger jumps into jQuery on the line indicated, and I am get the error that "UL.appendChild" is not a function.
var Dialog = document.createElement('div').id='meta-dialog';
var Tabs = document.createElement('div').id = 'meta-tabs';
var UL = document.createElement('ul').id = 'meta-ul';
var li1 =document.createElement('li'); li1.id = 'term1-LI';
var li2 =document.createElement('li'); li2.id = 'term2-LI';
var li1a = document.createElement('a');
var li2a = document.createElement('a');
li1a.href='#meta-tab1'; li1a.innerHTML = 'term1';
li2a.href='#meta-tab2'; li2a.innerHTML = 'term2';
li1.appendChild(li1a);
li2.appendChild(li2a);
UL.appendChild(li1) ; // Firebug debugger jumps into jQuery here
UL.appendChild(li2);
Is the problem apparent to anyone? Is this a conflict with jQuery?