Access violation exception in IE
Hey guys,
i have a strange error. With the following code i got the exception "Unhandled exception at 0x40044440 in iexplore.exe: 0xC0000005: Access violation reading location 0x00000018." after clicking on the link.
- <!DOCTYPE html>
<html>
<head>
<title></title>
<script src="jquery-1.5.1.js" type="text/javascript"></script>
</head>
<body>
<div style="width: 100%; max-height: 400px; overflow: scroll;">
<table>
<tr>
<td>
test
</td>
</tr>
</table>
</div>
<a id="testlink" href="#">test</a>
<script type="text/javascript">
$(function () {
$("#testlink").click(function () {
$("table").remove();
return false;
});
});
</script>
</body>
</html>
I'm using WinXP with IIS 5.1 and IE 8 (with Firefox no error occurs).
If i change the styles of the table all works fine, but i don't see any wrong parts. Can anybody tell me how to solve this issue?
Thanks in advance.