Bug Tracker

Ticket #3808: test.ajax.3808.html

File test.ajax.3808.html, 1.0 KB (added by d3r1v3d, 11 years ago)

(1 of 2) Test page detailing the error.

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
3<head>
4        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5        <title>jQuery Test - ghmulli - ajax#3808</title>
6   
7        <script type="text/javascript" src="http://code.jquery.com/nightlies/jquery-nightly.js"></script>
8
9    <script type="text/javascript">
10        /*
11         issue:
12         internet explorer fails to load if there is hash in the url
13         */
14        $(function()
15        {
16            $('#dummy').bind('click', function(e)
17            {
18                e.preventDefault();
19
20                $('#container').load($(this).attr('href'));
21            });
22            return false;
23        });
24    </script>
25</head>
26<body>
27    <a id="dummy" href="test.ajax.3808.dummy.html#love">Load me</a>
28    <div id="container" style="border: 2px inset #AAA;width:400px;height:400px;overflow:auto">
29    </div>
30</body>
31</html>