js/supportchat.js

changeset 9
6677316d8834
parent 7
53201a5347f9
child 12
7b0df9aad29c
equal deleted inserted replaced
8:09d33857ca04 9:6677316d8834
1 function on_question_submit() 1 function on_question_submit()
2 { 2 {
3 alert("Submitted!"); 3 var question_type = $("#support-question-type").val();
4 var question_submitter = $("#support-question-name").val();
5 var question_text = $("#support-question-text").val();
6
7 alert(question_name + " submitted a " + question_type + " question:\n " + question_text);
4 } 8 }
5 9
6 function display_ui() 10 function display_ui()
7 { 11 {
8 // Display pop-up, showing question form 12 // Display pop-up, showing question form

mercurial