You question is not well explained, what you want to achieve, here is the suggestion,
you can add JS event ONClick into you submit button and define the JS function according to your goals, (for example you want to count submit button click)
<script type="text/javascript">
var clicks = 0;
function onClick() {
clicks += 1;
document.getElementById("clicks").innerHTML = clicks;
};
</script>
<form method="post" action="options.php">
.
.
.
<button type="button" onClick="onClick()">Submit</button>
<p>Clicks: <a id="clicks">0</a></p>
</form>
Related Posts:
- How to customize woocommerce related products? [closed]
- Pass PHP variable to javascript
- WordPress plugin archive
- Plugin not showing in dashboard
- Namespaces in WordPress – How do I initiate the main class?
- What areas to Unit test while building a plugin?
- Notify commenters about new replies
- Plugin readme.txt and assets internationalization
- Woocommerce different URL for every table placed in the restaurant
- Disable Admin Bar Render on Plugin Page
- Image Crop/Resize Function/Code Sinppet/Plugin to adjust/crop images during upload
- post expire after x days
- MailChimp integration that allows users to select from multiple lists [closed]
- How to handle autoloading with composer by keeping the WordPress naming conventions?
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- filemtime() warning when enqueuing style within plugin
- Current user in plugin returns NULL
- How to structure a plugin into multiple files using classes?
- WordPress logo upload option in theme panel
- Woocommerce – Display active variation product price [closed]
- Minimum PHP Required for WordPress
- Post query – show posts from specified day and month and whole years
- Support for simultaneous editing
- tag breaks shortcode output (other solutions don’t work)
- How can I disable widget from being visible on some pages?
- Is this the right way to execute some PHP in my plugin after a button click on an options page?
- Show Sub pages excerpt+thumbnail
- Create entire wordpress as a github repositery?
- How to overwrite core/libraries/vendor template with child theme
- Plugin integrate in forum to show user profiles [closed]
- WP_Query and NULL meta keys
- plugin shortcode output
- how to add text to posts from tags
- Is there a WordPress plugin that can post to Google+? [closed]
- How to include this jQuery File in wordpress?
- WordPress checkbox and Illegal string offset
- dbDelta not adding additional columns in plugin database update
- Fatal error in form display plugin
- Why do plugins often ask to add in to templates?
- Is it fair to use MIT licensed code in WordPress plugins? [closed]
- How to add an element right after the article using jQuery?
- Infinite scroll messing up nth:of-type
- How do I find out which plugin is exceeding memory limits?
- Taxonomy Drill-Down / Plugin Help – hierarchical queries within plugin?
- PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content
- Problem installing plugin: unexpected T_STRING, expecting T_FUNCTION
- Use current class method inside add_submenu_page()
- How to Show Author image and url in WordPress plugin directory? [closed]
- Renaming Custom Taxonomy Values
- Load plugin script in specific page
- jQuery code didn’t run on my plugin
- Call ajax on the frontend
- Is this plugin safe to run?
- Custom characters of tinymce editor are saved as question mark
- How do I profit from a Plugin?
- Color Picker UI in admin is not correct
- Can I customize an Elementor template after inserting it? [closed]
- Create automatic latest version link
- Some error in mysql script ? Can’t working to create table
- Gutenberg: Prevent links from being clickable in the block. Error: “Cannot destructure property ‘frameElement’ of ‘r’ as it is null.”
- How to Access a file that is inside a plugin’s dir from the theme’s `functions.php` file
- list of custom post by custom field in frontend
- How to add a prefix to a WordPress post preview url?
- i can not access the post in custom template of my wordpress plugin
- How to avoid the 403 Forbidden error in a WP Plugin with Ajax and PHP
- Allow editor user to full permission to access plugin settings
- Elementor JetEngine Listing Grid paging option
- Change (replace) word in metabox
- Exclude Tag Links from and Text
- Automatic set a featured image from the first image’s url (or tag) in the article
- How to remove row action “Edit with Visual Composer” in the post list table?
- Flowplayer – Warning: Division by zero
- Why all my wordpress sites keeps telling me that everything is up to date at /wp-admin/update-core.php?
- Defined user role to access plugin’s pages
- How to add wpmode in Flash Embed Code in WordPress Site?
- Better code/text editing for posts and pages?
- Any way to edit/crop my featured image upon uploading?
- Saving an array to get_options
- How to set different users for different pages?
- Strip shortcode from excerpt [duplicate]
- force category table refresh when adding new category
- HTTP Error 403 When Trying to Login
- Help me with my first very basic plugin
- How can I server scaled images?
- WordPress site down after installing a plugin. Can’t connect with FTP with correct details
- Plugin that resets database and deletes all content, plugins
- Custom Fields on User Dashboard?
- Make a Custom template for a specific category in wordpress
- HTML link within my plugin settings page
- how to display the page content in popup window?
- Code snippet plugin not working correctly with Windows live writer and WordPress
- Jquery based image accordian plugin
- How to know if your code is executed on wordpress.com and wordpress.org?
- I want to include My theme file (testing.php) to inside my plugin folder (myplugin/mypugin.php)
- How do I set register_meta for a specific CPT?
- How to Enfroce Domain Licensing Limits? [closed]
- Override plugin constant using a theme
- WordPress issue – data is not showing in wp-admin, but when searching through database, all the data is there
- WordPress menu dissapear when I add a parameter to custom post archive
- Submitting form to admin-post.php WordPress