Ive got a page that has several dynmically created links and each on has an onclick event to open a modal popup with further details on that item.

The problem I have is that it works perfectly in FF but not in IE (I'm using v7). There are no javascript errors, it just does not respond to the click event.

I can see that it creates the onclick in event for each item in the source, is there anything special I have to do to make this work in IE?

Here is a part of the rendered code:


HTML Code:
<table cellspacing="0" cellpadding="4" border="0" id="gvNewsItems" style="color:#333333;border-collapse:collapse;">

		<tr align="left" style="color:White;background-color:#990000;font-size:Small;font-weight:bold;">
			<th scope="col"> </th><th scope="col"><a href="javascript:__doPostBack('gvNewsItems','Sort$postdate')" style="color:White;">Date</a></th><th align="left" scope="col"><a href="javascript:__doPostBack('gvNewsItems','Sort$Subject')" style="color:White;">Subject</a></th>
		</tr><tr style="color:#333333;background-color:#FFFBD6;font-size:Small;">
			<td>
                                <a id="gvNewsItems_ctl02_HyperLink1" onclick="ShowModalPopup('1629'); animate('divPreview');" style="color:Blue;text-decoration:underline;">Preview</a>
                            </td><td>07/28/2009          </td><td style="width:350px;">Test 1</td>

		</tr><tr style="color:#333333;background-color:White;font-size:Small;">
			<td>
                                <a id="gvNewsItems_ctl03_HyperLink1" onclick="ShowModalPopup('1628'); animate('divPreview');" style="color:Blue;text-decoration:underline;">Preview</a>
                            </td><td>07/28/2009          </td><td style="width:350px;">Test 3</td>
		</tr><tr style="color:#333333;background-color:#FFFBD6;font-size:Small;">
			<td>
                                <a id="gvNewsItems_ctl04_HyperLink1" onclick="ShowModalPopup('1600'); animate('divPreview');" style="color:Blue;text-decoration:underline;">Preview</a>

                            </td><td>06/30/2009          </td><td style="width:350px;">Test 4</td>
		</tr><tr style="color:#333333;background-color:White;font-size:Small;">
			<td>
                                <a id="gvNewsItems_ctl05_HyperLink1" onclick="ShowModalPopup('1599'); animate('divPreview');" style="color:Blue;text-decoration:underline;">Preview</a>
                            </td><td>06/24/2009          </td><td style="width:350px;">Test 5</td>
		</tr><tr style="color:#333333;background-color:#FFFBD6;font-size:Small;">

			<td>
                                <a id="gvNewsItems_ctl06_HyperLink1" onclick="ShowModalPopup('1598'); animate('divPreview');" style="color:Blue;text-decoration:underline;">Preview</a>
                            </td><td>06/22/2009          </td><td style="width:350px;">Test 6</td>
		</tr>
	</table>