1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
teampoltergeist--poltergeist/spec/support/views/with_ajax_fail.erb
2015-11-14 11:13:38 -08:00

16 lines
No EOL
424 B
Text

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<title>poltergeist with_js</title>
<script src="/poltergeist/jquery.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<h1>Here</h1>
<script>
$.ajax('/poltergeist/unexist.png', {
complete: function(){$('h1').text('Done');}
});
</script>
</body>
</html>