Is there any way to replace standard WordPress comments form action, which usually looks like this:
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
to something custom WITHOUT altering comments.php (i.e. for a plugin, so you don’t have to make end-users edit their themes):
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" some_java_script some_tag="some_value" method="post" id="commentform">
simple with jQuery:
just paste this in your theme’s functions.php or the plugin your are develop and change
http://yourUrl.com
to the url you wantpaste this in your theme’s functions.php: