Added help-new.jade

This commit is contained in:
Teresa 2015-12-07 22:29:53 -08:00 committed by Naomi Black
parent 59b55794a7
commit 014404239d
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
div(flex)
p.
What's your question about?
select#dropdown(name="Angular Version" class="dropdown")
option(value="Angular2") Angular2
option(value="AngularJS") AngularJS
button#btn(class="btn").
Submit
script(src="//www.gstatic.com/feedback/api.js" type="text/javascript")
script.
var btn = document.getElementById("btn");
var submitFeedback = function() {
var dropdown = document.getElementById("dropdown");
var configuration = {
'productId': 'Angular',
'authuser': '1',
'bucket': dropdown.options[dropdown.selectedIndex].value
}
userfeedback.api.startFeedback(configuration);
}
btn.addEventListener("click", submitFeedback);