<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: jquery change input value with click handler</title>
		<link>https://legacy.forums.gravityhelp.com/topic/jquery-change-input-value-with-click-handler</link>
		<description>Gravity Support Forums Topic: jquery change input value with click handler</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 18:34:08 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/jquery-change-input-value-with-click-handler" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "jquery change input value with click handler"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-change-input-value-with-click-handler#post-103555</link>
			<pubDate>Mon, 17 Dec 2012 13:30:57 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">103555@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please provide a link to the page on your site where this form and functionality are present, so we can take a look.  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>byork on "jquery change input value with click handler"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-change-input-value-with-click-handler#post-101331</link>
			<pubDate>Tue, 11 Dec 2012 15:41:22 +0000</pubDate>
			<dc:creator>byork</dc:creator>
			<guid isPermaLink="false">101331@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to change the text in the submit button on click. Trying to stop multiple submitters.&#60;br /&#62;
I have this in header.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
$(&#38;quot;form.buttontext&#38;quot;)
.submit(function() {
var $form = $(this);
$.post($form.attr(&#38;#39;action&#38;#39;), function(){
var $submit = $form.find(&#38;quot;input:submit&#38;quot;).val(&#38;#39;Processing&#38;#39;);
window.setTimeout(function() {
$submit.val(&#38;#39;Register Now&#38;#39;);
}, 5000);
});
return false; //
});​
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;also tried disabling submit on click:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;#39;input:submit&#38;#39;).click(function(){
	$(&#38;#39;input:submit&#38;#39;).attr(&#38;quot;disabled&#38;quot;, true);
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Also tried this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$(document).ready(function(){
                $(&#38;#39;#gform_submit_button_6&#38;#39;).click(function(){
                $(&#38;#39;input:submit&#38;#39;).attr(&#38;quot;disabled&#38;quot;, true);
                });
        });&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Can someone please shed some light on where I am going wrong? I cannot get a click handler to work. I tried the submit handler too. No luck. I am obviously new to this and trying to learn!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
