Side navigation
Ticket #3235: 3235.html
File 3235.html, 0.5 KB (added by nathanhammond, August 15, 2008 01:21AM UTC)
Test Case
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>3235 Test Case</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$.ajax( { type: "GET", dataType: 'html', url: 'http://jquery.com', error: function() { alert('Got to error callback.'); } } );
});
</script>
</head>
<body>
Should alert "Got to error callback."
</body>
</html>
Download in other formats:
Original Format
File 3235.html, 0.5 KB (added by nathanhammond, August 15, 2008 01:21AM UTC)
Test Case
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>3235 Test Case</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$.ajax( { type: "GET", dataType: 'html', url: 'http://jquery.com', error: function() { alert('Got to error callback.'); } } );
});
</script>
</head>
<body>
Should alert "Got to error callback."
</body>
</html>