SOLVED by somebody:
“if my form pointed to a directory:
then my POST data disappeared and $_POST was empty. If I pointed to a specific file:
http://example.com/wordpress/index.php
Then it worked properly.”
ps: God bless him. 🙂
Related Posts:
- WordPress AJAX File Upload – FrontEnd
- jQuery and AJAX Not working with Select Form Element
- Using wp_ajax and wp_ajax_nopriv hooks
- Registration e-mail check with AJAX
- Accept AJAX call with serialized form data
- Frontend Post with JQuery AJAX to Php Issue
- Ajax form submit not working, returns 0
- Converting a working AJAX form to work with WordPress
- Which hook to use when adding ajax to viewer-facing side?
- jQuery forms & updating info
- Is not using admin-ajax to ajax submissions okay?
- jQuery form plugin, submit in the wordpress way
- JSON parsing error syntax error unexpected end of input
- jQuery Ajax error handling, show custom exception messages
- My javascript is returning this error: $.ajax is not a function
- jQuery AJAX submit form
- Ajax TypeError: $.POST is not a function
- XML Parsing Error: not well-formed in FireFox but good in Chrome
- How to get a cross-origin resource sharing (CORS) post request working
- jQuery – Illegal invocation
- Clear form fields with jQuery
- jQuery’s .on() method combined with the submit event
- jQuery ajax error function
- ajax stopped working when not logged in?
- AJAX nonce with check_ajax_referer()
- wp_mail script with jQuery post
- AJAX call returns 0
- How to link WordPress heartbeat to ajax form
- jquery & ajax getting data to php in wordpress
- AJAX returns response 0
- AJAX post into pop-up div
- Bind to WPSetAsThumbnail
- Appending anchor tag to next post
- Updating User Profile with AJAX not working
- Auto Load New Posts
- jQuery Plugin to use WordPress functions in AJAX request
- wp_ajax() question.. not using wp_enqueue_script?
- Showing Author Information and Latest Post by author in lightbox when clicked on the name of the author
- Is there a restriction in WP on the use of jQuery load function?
- Ajax not posting form data to query in PHP function
- Front-end Ajax File Upload
- Form isn’t inserting data into database with ajax plugin
- gravity forms jQuery.load into modal [closed]
- ajax, right way to do it and make it works?
- Error when posting comment form: The error is TypeError: e[h] is not a function
- jQuery ajax call throws an HTTP 302
- Ajax, Permalinks and post_thumbnail
- WooCommerce Ajax Cart Update Stopped Working
- WordPress AJAX Load More function duplicating a post
- Advanced Ajax Page Loader (AAPL) blocks resources
- Exclude some scripts from removing unique scripts from head function
- First Attempt at AJAX and it keeps getting Canceled. Can’t Get Results to Show
- videopress videos are not displayed when loading the content with ajax in a lightbox
- How to return multiple arguments from AJAX callback function
- Ajax contact form return 0
- How to fix my old theme so it loads jQuery properly
- Display posts from another site using REST API in an asynchronous manner
- Why use admin-ajax.php when loading pages through AJAX?
- WP Rest Api / Ajax POST not working when not logged in
- Why does my jQuery AJAX return 0?
- Simplest ajax form not working when it should
- Ajax Validation for reCaptcha
- Sorting WP Auctions by date/price?
- Loading dynamic content with AJAX breaking jQuery
- Adding JavaScript file in Admin Panel
- Output multi-steps form results in same page
- why is my wordpress Jquery-Ajax call not working?
- fill form fields with ajax response
- Adding custom cart price with Ajax in wordpress
- Can’t add classes using jQuery from a JSON string with get_body_class()
- AJAX Success Function using JS substr() fails in WP 4.1 vs 4.0
- Ajax +wordpress onClick link redirect to new page and create html content
- Using Jquery submit with ajax request
- Why is ajax working on one server and not the next?
- How to use wp_update_post with ajax on frontend
- Connect Agile Carousel to WordPress AJAX
- Ajax page load in wordpress the right way?
- jQuery Validation plugin and Bootstrap 4 CSS classes
- Orderby post__in Not Working Correctly?
- WordPress Ajaxifying not working properly
- wordpress ajax upload media not working
- how to do display: block after user login
- Reload selected post in multiple post query with ajax
- jQuery.post() calling function with parameter
- Submitting my form to the database and then redirecting to payment site
- Passing variable data from external jQuery file to options.php
- What to do after a wrong RewriteRule?
- Displaying contents of a tab
- owl carousel not working after ajax load [duplicate]
- Ajax autocomplete based on usercode
- Variable not being returned from Ajax Javascript (though javascript receives it)
- jQuery AJAX add json2 dependency?
- How to respond with WP_Ajax_Response();
- Auto Select Child categories on Multiple Dropdown – Jquery
- Get selected value with PHP and jQuery
- jQuery Live Form Validation in WordPress
- Hook with jquery script is not working in wp-admin [closed]
- jQuery color picker function on change
- How to combine jQuery in-place editor with $wpdb->update
- Contact Form 7 – Submit Form not working After Ajax Request [closed]