You can use either of them as per your choice and need in the client-side JS or jQuery. So for example the URL should be: localhost:1234/myProject/WebApp/Data?accountCode=Full Assuming full is selected. if ajaxurl is not defined you can get it by defining html attribute data-url as data-url="<?php echo get_admin_url ().'admin-ajax.php'?>". Any help will greatly be appreciated. Sometimes we need to get values through the query string in the URL on the browser address bar. In the JavaScript file, add a click event listener to the button. How to check whether a string contains a substring in JavaScript? How did Dominion legally obtain text messages from Fox News hosts? Controls are accessed so no need to send data. Can a private person deceive a defendant to obtain evidence? I suggest checking the official documentation on Mozilla and Chrome. Here is an Implementation of the ajax() function to send data. Cookies 3. "Values using Popup Window

". Making statements based on opinion; back them up with references or personal experience. We have a halting application to check whether the data is coming and it's coming. Dev Tools, etc. WordPress is a trademark of the WordPress Foundation, registered in the US and other countries. Step 1 Create a HTML