diff options
| author | Bulletin <bulletin@bulletinalpha.tk> | 2016-12-29 16:42:32 -0500 |
|---|---|---|
| committer | Bulletin <bulletin@bulletinalpha.tk> | 2016-12-29 16:42:32 -0500 |
| commit | 1a7fa60f6cb2ee26843ca19e37bb4ff44104ad55 (patch) | |
| tree | 2fa1fbdea9992ab63ba2a7abbac8bbcd633d13f7 /dash/js | |
| download | bulletin-1a7fa60f6cb2ee26843ca19e37bb4ff44104ad55.tar.gz | |
Added existing progress
Diffstat (limited to 'dash/js')
| -rw-r--r-- | dash/js/dash.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dash/js/dash.js b/dash/js/dash.js new file mode 100644 index 0000000..39e9882 --- /dev/null +++ b/dash/js/dash.js @@ -0,0 +1,16 @@ +var xclicks = 0, a; +function xbtn (e) { + e.preventDefault(); + $(this).parents().filter('.job').hide(250); + $.get('headless.php?clicks='+xclicks, function (data) { + var $newjob = $($.parseHTML(data)); + window.a = $newjob; + $newjob.find('.jobxbtn').click(xbtn); + $newjob.appendTo($('#content')); + }); + xclicks++; +} + +$(function() { + $('.jobxbtn').click(xbtn); +}); |
