This repository has been archived by the owner on Jan 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
53 lines (53 loc) · 2 KB
/
index.php
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>edocr Document Listing</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<!-- Basic Styles -->
<link href="css/bootstrap.css" media="screen" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script src="//staging2.livestax.com/assets/livestax-0.1.0.js"></script>
</head>
<body>
<div class="content twitter">
<div class="row">
<div class="col-md-12">
<form class="form-horizontal">
<div class="form-group">
<label for="inputEmail" class="col-md-4 control-label">Enter Email Address of your account</label>
<div class="col-md-4">
<input type="text" class="form-control" name="mail_address" id="mail_address" placeholder="Email">
</div>
</div>
<div class="form-group">
<div class="col-md-8 col-md-offset-4">
<button type="submit" class="btn btn-primary" id="sumit_button">Submit</button>
</div>
</div>
</form>
</div>
</div>
<div id="document_list"></div>
</div>
<script src="js/jquery.min.js"></script>
<script type="text/javascript">
$('#sumit_button').click(function(e){
e.preventDefault();
$('#document_list').html('<div id="loading"> </div>');
var mail_address = $('#mail_address').val();
$.ajax({
type: "POST",
url: "document_list.php",
data: {mail_address: mail_address},
success: function(data){
$('#document_list').html(data);
}
});
});
</script>
</body>
</html>