#ajaxsubmit
Explore tagged Tumblr posts
Link
Ajaxform uses progressive enhancement, users without JavaScript can still use the form in a traditional way users with JavaScript will get a more sophisticated experience.AjaxForm takes zero or one argument. The single argument can be either a callback function or an Options Object. AjaxForm and AjaxSubmit support numerous options which can be provided using an […]
0 notes
Text
Purchases
New Post has been published on https://gautampragya.com/purchases/
Purchases
If you do not see your order:
Resolve
Please Wait...
jQuery(function ($) $('#resolveorder').submit(function () $('#resolveorder').slideUp(); $('#w8o').html("<i class='fa fa-spinner fa-spin' > Tracking Order...").slideDown(); $(this).ajaxSubmit( url: 'https://gautampragya.com/wp-admin/admin-ajax.php', success: function (res) if (res == 'ok') $('#w8o').html('<span class="text-success"><i class="fa fa-check"> Order is linked with your account successfully.'); location.href = location.href; else $('#w8o').html(res); ); return false; ); $('#w8o').click(function () jQuery(this).slideUp(); $('#resolveorder').slideDown(); ); );
All Orders
jQuery(document).ready(function($) $('.delete_order').on('click',function() var nonce = $(this).attr('nonce'); var order_id = $(this).attr('order_id'); var url = "https://gautampragya.com/wp-admin/admin-ajax.php"; var th = $(this); jQuery('#order_'+order_id).fadeTo('0.5'); if(confirm("Are you sure you want to delete this order ?")) $(this).html('<i class="fa fa-spinner fa-spin">').css('outline','none'); jQuery.ajax( type : "post", dataType : "json", url : url, data : action: "wpdmpp_delete_frontend_order", order_id : order_id, nonce: nonce, success: function(response) //console.log(response); if(response.type == "success") $('#order_'+order_id).slideUp(); //alert('successfull...'); else alert("Something went wrong during deleting...") ); return false; ); $('.ttip').tooltip(); ); jQuery(function($) $('#resolveorder').submit( function() $('#resolveorder').slideUp(); $('#w8o').html("<i class='fa fa-spinner fa-spin' > Tracking Order...").slideDown(); $(this).ajaxSubmit( url: 'https://gautampragya.com/wp-admin/admin-ajax.php', success: function(res) if(res=='ok') $('#w8o').html('<span class="text-success"><i class="fa fa-check" > Order is linked with your account successfully.'); location.href = location.href; else $('#w8o').html(res); ); return false; ); $('#w8o').click(function() jQuery(this).slideUp(); $('#resolveorder').slideDown(); ); ); td vertical-align: middle !important; .card-footer .alertfont-size: 9pt; line-height: 28px; padding: 0 10px; .card-footer .btn border: 0 !important; margin-top: -3px; .row-actions padding: 2px 0 0; visibility: hidden; tr:hover .row-actions visibility: visible; #__bootModal .modal-header .modal-title margin: 0; #__bootModal .modal-body line-height: 30px; text-align: center; #__bootModal .modal-body .form-control margin-top: 10px; text-align: center; #__bootModal .modal-header .close display: none;
0 notes
Text
Purchases
New Post has been published on https://bedisciple.com/purchases/
Purchases
If you do not see your order:
Resolve
Please Wait...
jQuery(function($) $('#resolveorder').submit( function() $('#resolveorder').slideUp(); $('#w8o').html("<i class='fa fa-spinner fa-spin' > Tracking Order...").slideDown(); $(this).ajaxSubmit( url: 'https://bedisciple.com/wp-admin/admin-ajax.php', success: function(res) if(res == 'ok') $('#w8o').html('<span class="text-success"><i class="fa fa-check" > Order is linked with your account successfully.'); location.href = location.href; else $('#w8o').html(res); ); return false; ); $('#w8o').click(function() jQuery(this).slideUp(); $('#resolveorder').slideDown(); ); ); td vertical-align: middle !important; .panel-footer .alert font-size: 9pt; line-height: 28px; padding: 0 10px; .panel-footer .btn border: 0 !important; margin-top: -3px;
Purchases
Order Id Date Payment Status
.row-actions padding: 2px 0 0; visibility: hidden; tr:hover .row-actions visibility: visible;
0 notes