-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquestions.js
31 lines (24 loc) · 890 Bytes
/
questions.js
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
// changes themes based on age
$("input[name='age']").click(function () {
$('#child-form').css('display', ($(this).val() === 'child') ? 'block':'none');
$('#ya-form').css('display', ($(this).val() === 'ya') ? 'block':'none');
$('#adult-form').css('display', ($(this).val() === 'adult') ? 'block':'none');
});
// function f1(){
// // $("input[id='theme']").click(function () {
// // $('#sophisticated')
// // }
// document.getElementById("function-click").href="stock_results2.html";
// }
// $("input[id='theme']").click(function () {
// $('#sophisticated').click(function() {
// window.location='/stock_results.html';
// });
// $('#superheroes').click(function() {
// window.location='stock_results2.html';
// });
// });
// function submit(){
// }
// myLink = document.getElementById('function-click');
// myLink.onclick = submit();