instead of this:
jQuery('#wpuf_new_post_form').submit(function(e) {
Try this way, it should work for you.
jQuery(document).on("submit", "#wpuf_new_post_form" , (function(e)) {
var data2 = jQuery('#wpuf_new_post_form').serialize();
first do console.log(data2)
try it, should print entire form ‘s data in console.
Related Posts:
- WordPress AJAX File Upload – FrontEnd
- 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
- jQuery forms & updating info
- Is not using admin-ajax to ajax submissions okay?
- $_POST empty in using new php file added to theme
- jQuery form plugin, submit in the wordpress way
- Pass request headers in a jQuery AJAX GET call
- How to send multiple data fields via Ajax?
- Jquery Ajax Posting JSON to webservice
- Ajax Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource
- Validate form before submit jquery
- How to manage ajax calls and JSON in wordpress
- How to add a ” waiting” icon for an ajax in WP frontend?
- Can’t get a JSON object in response to an Ajax request with wp_ajax
- What is the simplest ajax upload plugin or script to be used with wordpress?
- WordPress Ajax URL for function in functions.php
- AJAX function returning -1
- call shortcode in javascript
- WP set auth cookie using Ajax is not saved to browser
- Passing a varible from jQuery to PHP
- Add X meta box inputs based on form at top of meta box, how to do it right?
- ajax call in wordpress front end
- jQuery Ajax() doesn’t work when the page is accessed as a WordPress template page
- POST from jQuery to PHP
- How to Use JSON With AJAX?
- wp_localize_script, variable is not defined in jquery
- Using wp_ajax and wp_ajax_nopriv hooks
- WP REST return value to error function from Request
- WordPress Ajax not function as I expect… what’s wrong?
- wp_verify_nonce not working
- Tags in WordPress 3.2
- php ajax problem – weird 301 responses!
- jQuery Ajax passing empty parameters to my function?
- Loading posts via AJAX in a hidden div with updated URL?
- Making the wordpress login form a jQuery dropdown
- How to get a value from PHP in Jquery through Ajax
- Not sure why wp_ajax isn’t working?
- Load created php file data via ajax
- Cannot prefill hidden Ninja Forms fields
- Jquery not showing in homepage
- jQuery Ajax returning correct Response, but after redirect to 404 Error
- WordPress Ajax problem with undefined url
- How to get those data using with ajax json?
- Correct way to write jQuery functions in WordPress
- Intergrating agile carousel to wordpress: how to write the ajax_callback function
- AJAX Loaded Glossary like Search results with links to other entries from custom table
- Return an array from get_terms and store as JavaScript array for search autocomplete
- Trouble with WordPress Ajax Login System – 302
- Show success or error messages in Ajax response to WordPress custom registration form
- WP http XML response HTML encoding and image display problems
- Using WP_Query to grab custom meta values, foreach to json object
- Add/remove action on jQuery toggle
- delete post meta by AJAX
- url – ajax loaded but no JS
- Creating a new div onclick wordpress+ajax
- how to json_encode(); the Loop content so that the encoded array is [“0”:content, “1”:content]
- Properly embed javascript into WP (using function.php) – doesn’t work?
- jQuery tabs plugin with callback to fetch data
- jQuery will not work on page from snippet or file
- JQuery Counter Limit not working for WP Comment Textarea
- No Object Properties sending form through AJAX
- Redirect wp_dropdown_pages() to an AJax request?
- Custom AJAX form not working async
- Null/undefined return in WordPress AJAX request
- click event to unhide something after ajax not firing
- how to use wp_editor() here am getting empty result
- Manipulate retrieved ajax data in php
- Using AJAX to run SQL statement and populate dropdown
- problems with jquery external rss feed integration
- WordPress Front-End Theme Editor
- AJAX calendar navigation returns -1
- How to display contact form 7 form in vanilla js without jquery in frontend
- How to setup multi-page using jquery?
- Is textarea always accesible throught textarea#content in wordpress dashboard for a specific page?
- Auto next upon clicking image without clicking Next button
- Opening Modal popup on Ajax form submission
- How to submit the date with ajax?
- Get ajaxForm response value
- How to submit form data in the same page in WordPress without reloading the page?
- How to pull data from a table using wpdb?
- Autocomplete for titles via ajax – rework of past post away from like_escape()
- How to specify url for ajax call in wordpress plugin
- Call admin ajax using absolute url? Relative URL breaks (frontend ajax)
- Ajax Request with jQuery not happening
- Page keeps refreshing with Ajax form
- wp_signon not working fine and 302 moved temporarily?
- how to refresh index page without reloading browser using ajax
- Page reload occurs before request finishes
- Ajax request with jQuery without WP_ajax
- ajax form function error
- Contact Form 7 submission does not complete [closed]
- Using WP Ajax and jQuery to process multiple forms on the same page?
- Combo box populating a DIV using ajax/jquery
- Contact Form 7 checkbox to add a new class to a div [closed]
- Infinite Scroll applied to ajax loaded content
- Contact Form 7 – Submit Form not working After Ajax Request [closed]