Side navigation
Ticket #3808: test.ajax.3808.html
File test.ajax.3808.html, 1.0 KB (added by d3r1v3d, March 04, 2009 02:31PM UTC)
(1 of 2) Test page detailing the error.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery Test - ghmulli - ajax#3808</title>
<script type="text/javascript" src="http://code.jquery.com/nightlies/jquery-nightly.js"></script>
<script type="text/javascript">
/*
issue:
internet explorer fails to load if there is hash in the url
*/
$(function()
{
$('#dummy').bind('click', function(e)
{
e.preventDefault();
$('#container').load($(this).attr('href'));
});
return false;
});
</script>
</head>
<body>
<a id="dummy" href="test.ajax.3808.dummy.html#love">Load me</a>
<div id="container" style="border: 2px inset #AAA;width:400px;height:400px;overflow:auto">
</div>
</body>
</html>
Download in other formats:
Original Format
File test.ajax.3808.html, 1.0 KB (added by d3r1v3d, March 04, 2009 02:31PM UTC)
(1 of 2) Test page detailing the error.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery Test - ghmulli - ajax#3808</title>
<script type="text/javascript" src="http://code.jquery.com/nightlies/jquery-nightly.js"></script>
<script type="text/javascript">
/*
issue:
internet explorer fails to load if there is hash in the url
*/
$(function()
{
$('#dummy').bind('click', function(e)
{
e.preventDefault();
$('#container').load($(this).attr('href'));
});
return false;
});
</script>
</head>
<body>
<a id="dummy" href="test.ajax.3808.dummy.html#love">Load me</a>
<div id="container" style="border: 2px inset #AAA;width:400px;height:400px;overflow:auto">
</div>
</body>
</html>