[jQuery] ie still stalling at html rewrite

[jQuery] ie still stalling at html rewrite


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" /