This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
2014-02-28 00:13:54 +00:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf8" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="style/styles.css">
|
|
|
|
<title>Acces camera</title>
|
2014-02-28 01:34:08 +00:00
|
|
|
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
|
2014-02-28 01:12:24 +00:00
|
|
|
<script type="text/javascript" >
|
|
|
|
|
2014-02-28 01:21:18 +00:00
|
|
|
$(document).ready( function() {
|
2014-02-28 01:12:24 +00:00
|
|
|
$.ajax({
|
|
|
|
type: "POST",
|
|
|
|
url:'/ajax',
|
|
|
|
contentType: "image/jpg",
|
|
|
|
success: function(data){
|
2014-02-28 01:47:17 +00:00
|
|
|
$('#image').html(data)}
|
2014-02-28 01:21:18 +00:00
|
|
|
});
|
2014-02-28 01:28:34 +00:00
|
|
|
|
|
|
|
})
|
2014-02-28 01:12:24 +00:00
|
|
|
</script>
|
2014-02-28 00:13:54 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2>Vue camera</h2>
|
2014-02-28 01:54:09 +00:00
|
|
|
<object id="image"></object>
|
2014-02-28 00:13:54 +00:00
|
|
|
</body>
|
|
|
|
</html>
|