Visual Studio jscript intellisense error with jQuery 1.2.6?
问题 I get the warning "childNodes is null or not an object' with different line numbers, depending on which version of the library I reference (I've tried about three different versions of 1.2.6). Consequently, I get jack for jQuery intellisense. I can hack this to get it to work, but I'd rather not as I don't understand the full implications of changing the following line: elem = jQuery.makeArray(div.childNodes); to this: //HACK: VS intellisense fix if(div && div.childNodes) elem = jQuery