I have the following code: <form method='post'> <input type='submit' name='bid' value='Licitar'> When the user clicks the submit button, I want to update the WordPress post meta, in order to change the actual bid value. I'd also like to update, without reloading the page, the following div: <div class='vehicle-value-box'>".auctionplugin_get_latest_bid($post->ID).",00€</div> How can I do both? I ha
![How to update post meta on wordpress with AJAX](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)