-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (29 loc) · 857 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>the latest issuu</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="script.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<header>
<h2>the latest issuu</h2>
</header>
<div id="input-area">
<label for="username">issuu username</label><br>
<input type="text" id="username" name="username"><br>
<input type="button" id="button" value="get the latest issuu" onClick="scrapeIssuuPage()" />
</div>
<div id="wrapper"></div>
<script>
// Allow user to press Enter instead of clicking the submit button.
$("#username").keyup(function(event){
if(event.keyCode == 13){
$("#button").click();
}
});
</script>
</body>
</html>