I'd like to see how you call up the jquery code.. Did you try inserting an alert() at the top of your jquery statements?
On Tue, Apr 22, 2008 at 7:00 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > I hope someone more experienced can tell me where I'm going wrong with > this? > > I have PHP generate the jQuery for an .html() rewrite of links, > replacing the less-jazzy non-javascript show/hide alternative. It > works like a charm in FF, but ie refuses at this point & will not go > any further. > > The error occurs, apparently at this point in jQuery source: > (elem,"select")))return;if(elem[0]==undefined|| > jQuery.nodeName(elem,"form")||elem.options)ret.push(elem);else > > but I don't know what that means! > > My generated code: > > $( 'h2.product1' ).html( '<a href="#productID" class="open">Product > name</a>' ); > $( '#productID' ).css( 'margin-top', '0px;' ); > $( '#productID .close' ).html( '<a href="#productID" > class="close"><img src="images/close.jpg" alt="Close" title="Close" / > ></a>' ); > > In fact, IE doesn't even write in the new h2 data. It stops processing > all Javascript at that point. > > I thought this post, regarding ie's dislike of jQuery's .html() > method, was the answer: > > http://groups.google.com/group/jquery-en/browse_frm/thread/fea89caebdbb8453# > > but it doesn't help :( > > After so long tugging away at this, I'm hoping it's due to one of my > elementary errors!! > So please tell me where I'm wrong :) > > Thanks, > Cherry >

