Showing spinner while waiting.

This commit is contained in:
misund committed 2014-04-25 19:10:14 +02:00
1 parent 855ea00fad
commit ecf42d11ee
3 files changed
+185 -1

No files matched your search

+5
View File
@@ -5,6 +5,11 @@ console.log('\'Allo \'Allo!');
$(function() {
$('form').on('submit', function() {
event.preventDefault();
// Display a spinner
$('.interest').html('<div id="floatingCirclesG"><div class="f_circleG" id="frotateG_01"></div><div class="f_circleG" id="frotateG_02"></div><div class="f_circleG" id="frotateG_03"></div><div class="f_circleG" id="frotateG_04"></div><div class="f_circleG" id="frotateG_05"></div><div class="f_circleG" id="frotateG_06"></div><div class="f_circleG" id="frotateG_07"></div><div class="f_circleG" id="frotateG_08"></div></div>');
// Save and load
$.post(
'http://alumni.studentersamfundet.no/async.php',
{