I wrote this:
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script>
$("div.productInfo").wrap("<div id='productDetails'></div>");
</script>
</head>
<body>
<div class="productInfo">Whatever.</div>
</body>
And it didn’t work?.
Thanks.
your element hasn’t been rendered when your script runs… try this: