Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery('#export').click(function() {
- jQuery( ".attrLoading" ).slideDown(500);
- $.ajax({
- url: '../wp-content/plugins/posts-image-fix/ajax.php',
- context: document.body
- }).done(function(res) {
- jQuery(".status").append(res);
- jQuery( ".attrLoading" ).slideUp(500);
- });
- //Get status live updates
- function getStatus(){
- $.ajax({
- url: '../wp-content/plugins/posts-image-fix/ajax-status.php',
- context: document.body
- }).done(function(res) {
- jQuery(".status").append(res);
- if (res) {
- };
- });
- })
- getStatus(); //start it up the first time
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement