top of page

Creating a AJAX Call (Syntax)

  • Writer: سُلَيْمَان بْن دَاوُوْد
    سُلَيْمَان بْن دَاوُوْد
  • Jun 19, 2020
  • 1 min read

jQuery('.exportmember').click(function(){
              var data = {
                  action         : 'get_all_portalresource',
                  pageno         : jQuery('#poralresourcepageno').val(), 
                  category       : category,
                  popular        : popular          
              }
              jQuery.ajax({
                  url    : 'http://localhost/membership_dev/wp-admin/admin-ajax.php',
                  type   : 'POST',
                  data   : data,      
                  beforeSend: function() {
                            
                  },         
                  success: function(response) {
                     
                  }
              });
            });

 
 
 

Recent Posts

See All
Duplicate Category in Wordpress

The following code helps to duplicate the default wordpress category by help of code. // Add Duplicate option for categories in WordPress...

 
 
 
C#.NET and Its Associated Codes

1- Creating an Desktop Application in C#.NET C# ADO.NET & MySQL MAIN C# and MySQL ADO.NET with Crystals Reports Ready Code 2- Handling...

 
 
 

Comments


© 2020 by syednazrulhassan

bottom of page