js/supportchat.js

changeset 7
53201a5347f9
parent 4
0b79c41bf47a
child 9
6677316d8834
equal deleted inserted replaced
6:2ce4c2abf346 7:53201a5347f9
1 function on_question_submit()
2 {
3 alert("Submitted!");
4 }
5
1 function display_ui() 6 function display_ui()
2 { 7 {
3 // Display pop-up, showing question form 8 // Display pop-up, showing question form
4 $("#support-chat").show(); 9 $("#support-chat").show();
10 $("#support-question-submit").click(on_question_submit);
5 } 11 }
6 12
7 $(display_ui); //FIXME (debugging) 13 $(display_ui); //FIXME (debugging)

mercurial