I believe it is because you are trying to set object properties that are undefined.
Your javascript should look like this
var measrumentData = {
profile_name:null,
value_one:null,
value_two:null
};
// Grab our post meta value
measrumentData.profile_name = $( '#savem #profile_name' ).val();
measrumentData.value_one = $(' #savem #value1').val();
measrumentData.value_two = $(' #savem #value2').val();
or
var measrumentData = {};
// Grab our post meta value
measrumentData['profile_name'] = $( '#savem #profile_name' ).val();
measrumentData['value1'] = $(' #savem #value1').val();
measrumentData['value2'] = $(' #savem #value2').val();
Related Posts:
- Issue developing an AJAX form with WordPress
- jQuery’s .on() method combined with the submit event
- Get Previous & Next posts by Post ID
- Nonces and Cache
- How to HTML5 FormData Ajax
- admin-ajax.php doesn’t work when using POST data and Axios
- Contact Form 7 Custom Post Action
- Custom Form with Ajax
- ajax – why multiple calls to wp_create_nonce() return same value?
- How to link WordPress heartbeat to ajax form
- Ajax form submission from admin panel
- AJAX Implementation
- Custom ordering fails after AJAX post filter
- Confused on AJAX submit form through page template
- how to use reCaptcha v3 in wordpress custom login form?
- Prevent page reload after ajax form submission
- submitting form via admin-ajax.php returns 0
- Admin Ajax and HTML5 Formdata
- jQuery Ajax passing empty parameters to my function?
- Using ajax with wordpress
- Using AJAX with Forms
- Updating a checkbox value to database for specific row in table
- Ajax image upload with media_handle_upload and form.js
- Ajax post returning full html page as response
- How to handle 400 status in Ajax [duplicate]
- Sending variable from ajax on form submit
- contact form ajax empty response error message
- Can’t trigger an AJAX function with a submit button in the dashboard
- MySQL select query with ajax
- Dynamically add more fields/remove last field in a form
- Ajaxify Form That Submits To Same Page To Display Post Data [closed]
- Using admin-ajax prevents regular php form submission
- Specify ABSPATH in jQuery url
- ajax form is returning the dreaded “[HTTP/1.1 400 Bad Request” and a zero
- Output multi-steps form results in same page
- Send checkbox status with Ajax / JSON and save it
- Submitting a form, using Ajax, to run a SQL Select query based on user input from the form
- Using get_theme_mod in php ajax form doesn’t work
- How to create a form button that executes a function?
- How to stop being directed to admin.php after sending request to admin-ajax.php
- How to display contact form 7 form in vanilla js without jquery in frontend
- Using Ajax to submit a form, and run a SQL Select query based on user input from the form
- Should wordpress nonce be placed in html form or in javascript file
- Add Server Side validation in Ajax mail form
- How to send automatic response after form submission without plugin
- Opening Modal popup on Ajax form submission
- Not getting ajax success response on insert/update row to database
- Registration form AJAX check for existing username (simple version)
- Ajax show custom post data form & script
- Is not using admin-ajax to ajax submissions okay?
- Using AJAX on Contact-form the WordPress way
- Ajax contact form returnig 0
- Ajax Form data is not posted back to the get_results()
- Using AJAX for dynamic settings pages
- Ajax Form seems to post, but does not return
- Bad Request when adding new post via ajax form
- How to use Ajax with WordPress
- WordPress REST API FormData: Form Not Submitted When No Files Attached
- Setting up foreign keys in phpMyAdmin?
- ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
- importing a CSV into phpmyadmin
- jQuery: Performing synchronous AJAX requests
- Best way to end WordPress ajax request and why?
- Why not register shortcodes if is_admin dashboard?
- Template issues getting ajax search results
- Multiple ajax nonce requests
- Update user meta using with ajax
- AJAX vs Fragment Caching for W3 Total Cache [closed]
- Detecting post type within init action
- Delete row of custom table in WordPress using AJAX
- jQuery Autocomplete in WordPress
- Metabox cloning via Admin Ajax call issue
- help on wp_editor via ajax load [duplicate]
- ajax and nonce when JavaScript is in a seperate file
- Prevent wp_debug from polluting ajax within plugin
- How to allow to user non logged in WP system upload in media library?
- Buddypress ajax problem after adding new groups sub nav [closed]
- How to check username availability with ajax at registration
- admin-ajax.php slow, how to speed it up?
- How to use several wp_ajax_ functions for different queries?
- Three level taxonomy dropdown frontend
- I’m getting a 401 while calling the wp-json endpoint via ajax
- Unable to parse JSON response from wp_send_json_success [closed]
- Set meta_key and meta_value for all registered user in wordpress using sql query [closed]
- problem with WordPress ajax
- How to set post_id to 0 when you upload image via Add media button. (async-upload.php)
- Ajax simple experiment
- Delete all one-word comments
- Using a custom plugin to capture input data via Ajax and PHP
- How to make tabulator ajax call in wordpress?
- How would you update a frontend form with AJAX
- Updating User Meta with Array on Click of Button AJAX
- Radio buttons live refresh in the customizer
- Admin ajax add tag callback
- Stop auto load wp-admin admin-ajax.php
- Template issues getting ajax search results
- wp_enqueue_script() doesn’t work with AJAX
- Workaround AJAX calling without directly calling WordPress backend (Admin dashboard) because it is restricted to the end user (the public)
- Run PHPMailer function after ajax function completes that adds row to custom table
- wordpress filter for searching categories with ajax not working