-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatas.html
More file actions
39 lines (28 loc) · 817 Bytes
/
Copy pathdatas.html
File metadata and controls
39 lines (28 loc) · 817 Bytes
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
<!DOCTYPE html>
<html>
<head>
<base target="_top">
</head>
<body>
<form id="myForm">
<label> Search Keyword </label><input id="search" name="search" type="text" />
<label> BlogID</label> <input id="blogId" name ="blogId" type="text" />
<input type="button" value="Submit"
onClick="google.script.run.withSuccessHandler(DataSaved,Success).processForm(this.form).google.script.run.main();"
/>
</form>
<div id="Message"></div>
<script>
function DataSaved(){
document.getElementById('Message').innerHTML = "Data Saved";
};
</script>
<div id ="Success"></div>
<script>
function Success(){
google.script.run.searchByKeyword();
document.getElementById('Success').innerHTML = "Successfully Posted";
};
</script>
</body>
</html>