Thank you for your replies :))
The code I posted was from FF's 'view generated source' so that is
what my PHP's putting out .... Here are a couple more attempts:
// ----
$( 'h2.product1' )[0].innerHTML = '';
$( 'h2.product1' ).append( '<a href="#Body_Butter_Cream_Lotion"
class="open">Vanilla, Orange & Ginger Body Custard</a>' );
//----
$( '.product1' ).prepend( '<h2><a href="#Body_Butter_Cream_Lotion"
class="open">Vanilla, Orange & Ginger Body Custard<\/a><\/h2>' );
(I was trying to insert before a <noscript> there)
//---- the html in page:
<div class="item">
<h2 class="product1"><a href="<?php echo
$_SERVER['SCRIPT_NAME'] ; ?
>?layername=<?php echo $products[1]['id']; ?>&display=block"><?php
echo $products[1]['name']; ?></a></h2>
Sorry this is a bit messy - I've lost track of my attempts :o
I really hope this IS due to a syntax error ... and someone else can
spot it ;)
Cherry
On Apr 23, 12:57 pm, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I hope someone more experienced can tell me where I'm going wrong with
> > this?
>
> Any chance you could post a URL? It doesn't need to be your live site;
> a sample of the generated code should be plenty.
>
> My guess is that IE doesn't like your JS syntax and is refusing to
> continue with it. That's hardly uncommon. To me, the most likely
> suspect would be a trailing comma on a list, especially with generated code.
>
> Cheers,
>
> -- Scott