I finally find out the problem.
The problem is when I load wordpress page a builtin ajax call is started. and this part of my code:
jQuery(document).ajaxStart(function() {
jQuery( "#step-general" ).hide();
jQuery( ".pelak-loader" ).show();
}).ajaxSuccess(function() {
jQuery( ".pelak-loader" ).hide();
});
is used on loading page. I use if conditional in ajaxStart to limit its border!
Related Posts:
- Do I require the use of nonce?
- Problem with WordPress Ajax form
- wp_insert_post() is returning the correct post ID, no failure, but the post content does not get updated
- How to test nonce with AJAX – Plugin development
- WordPress ajax doesn’t display object method on jQuery .change() function
- adjust section according to country?
- Execute Jquery when a specific page in my plugin is loading
- Ajax on the Administration Side of plugin – wp_localize_script – how to pass value from JQuery to PHP function in class?
- Input field duplicates on form submit by jQuery
- defined (‘ABSPATH’) false after AJAX post to other PHP-file
- getJSON response to PHP
- How can I fetch loop of post titles via AJAX?
- Retrieve POST data from AJAX call
- Detect a focus on wp_editor
- WordPress Ajax always returns a 404 error
- problem with ajax and the path to the php page
- How to use wp_localize_script in a WordPress page other than functions.php?
- simple wordpress ajax plugin not working when not logged in
- Load custom field value into div with AJAX
- Update WordPress Custom Field with AJAX on cached page
- Targeting single page with JS
- Click loads template via ajax
- How to retrieve the content (with a specific ID) via ajax by clicking a link tag
- How to speed up admin-ajax.php in wordpress
- Returning a value from a PHP page
- Sending jsPDF documents to the server
- Woocommerce add to cart quantity buttons with AJAX
- Checking for new message using AJAX and PHP. Server overload?
- AJAX request status 200 but no actual “response”
- Ajax load more posts with multiple tax query
- WordPress Sending data to Ajax with select option
- Why ajax doesn’t work on certain wordpress hooks and reload the page instead?
- AJAX pagination, update current page
- Save Search System
- dynamic dependent select dropdown
- Change “add to cart” button color based on Woocommerce product category [closed]
- Ajax request returns ‘Array’. How to output the actual results?
- How to add a do_action on refreshing of WP customizer?
- Show success or error messages in Ajax response to WordPress custom registration form
- How to add a Custom Mailchimp AJAX Newsletter Subscribe Form
- Fancybox type popup window that’s not an iframe
- How to disable controls in theme customizer?
- Can I use a jQuery Ajax request in Code Snippets Plugin for WordPress?
- how to update and display an option without reloading the page
- How do I Import / Upload Files with jQuery AJAX?
- Pull GetOption() variable into jQuery dynamically created html
- Is it save to use eval for a jQuery callback method coming from the database?
- Function won’t run onclick using Ajax
- WordPress plugin admin page – using WordPress function in linked php file
- Any ideas why I am getting “I’m getting “wp-admin/admin-ajax.php 401 (Unauthorized)”
- A $_POST should occur when submit form but is not?
- Shortcode to pull posts
- Ajax search shows all results when user empties input?
- Why i can’t get custom fields value or post ID via Ajax?
- Get uploaded image and attach it to the new post
- Admin-ajax php not working on new wordpress version
- Proper way to use WordPress function with AJAX PHP file
- Live search from database table
- Add a counter for mouseovers (custom field)
- Accessing an API with jQuery and AJAX
- PHP: How to access db the right way in plugin?
- Submit form to db
- Change Query Arguments (filter) with jQuery/Ajax or PHP?
- How to set variables with AJAX request to use in another function in WordPress
- Search Ajax Call – Use Form Data in Response
- Why does PHP called with Jquery AJAX not allow additional php code to be added?
- How to use wp_send_json() and output the value with ajax?
- Tracking Visitor LatLng with WordPress using JS, PHP. How to put data which was extract using JS into DB
- Database entry removed on browser refresh, Ajax PHP jQuery
- Is it possible to access admin-ajax.php using PHP?
- Failed to load resource: the server responded with a status of 500 (Internal Server Error) through wp_admin_ajax.php
- Ajax result show in console if is called outside function and not showing in array
- Ajax filter with loadmore button
- Admin-ajax.php 404 error
- How to pass values from one function to the other using an array variable
- How to change PHP variables with AJAX request in WordPress
- How can I get my WordPress plugin to receive data and relay it in an ajax/php request to a remote server that requires authentication?
- custom mailchimp form using HTTP API
- 400 bad request admin-ajax file upload
- Can’t make lazy load for my site, help!
- wp_ajax_ 400 Bad Request
- update_post_meta Not Processing Array Data (Not Sure What I Am Missing)
- WordPress ajax filter returning all posts when it should be filtering by category
- How to echo a PHP code into WooCommerce variation product?
- How can i get the same ajax result using WP REST API instead of admin-ajax?
- How to call a function from functions.php with ajax?
- Custom theme admin-ajax.php 400 (Bad Request)
- Ajax in a class instantiated via shortcode
- number of posts with “Load More”
- Find the method which AJAX GET calls
- WordPress AJAX load post metadata in modal
- ajax form with multiple submit buttons and values
- How to run ajax in WordPress Post?
- Adding instant search to wordpress page
- Add php function into .js file (for tinyMCE button)
- Why this plugin is not working?
- AJAX & PHP | Call a specific PHP function from a PHP file via AJAX?
- ajax form function error
- Load Meta box value into div AJAX [duplicate]
- notify users when changed database