Skip to content

Commit 0144042

Browse files
teresahunaomiblack
authored andcommitted
Added help-new.jade
1 parent 59b5579 commit 0144042

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
div(flex)
2+
p.
3+
What's your question about?
4+
select#dropdown(name="Angular Version" class="dropdown")
5+
option(value="Angular2") Angular2
6+
option(value="AngularJS") AngularJS
7+
button#btn(class="btn").
8+
Submit
9+
10+
script(src="//www.gstatic.com/feedback/api.js" type="text/javascript")
11+
12+
script.
13+
var btn = document.getElementById("btn");
14+
var submitFeedback = function() {
15+
var dropdown = document.getElementById("dropdown");
16+
var configuration = {
17+
'productId': 'Angular',
18+
'authuser': '1',
19+
'bucket': dropdown.options[dropdown.selectedIndex].value
20+
}
21+
userfeedback.api.startFeedback(configuration);
22+
}
23+
btn.addEventListener("click", submitFeedback);
24+

0 commit comments

Comments
 (0)