-
Hi there.
I'm Andy Wibbels. I am working on a blog redesign so things might be a little clunky for a few days. You can learn more about my book, Blogwild, at http://GOblogwild.com/. Right now I'm working in San Francisco at Six Apart where I'm the product manager for Blogs.com. You can add my blog to your Google, Yahoo, Bloglines or other homepage. You can also follow me on Twitter, Facebook and Friendfeed.
Change Submit Button Text Upon Form Submission Javascript
Working on a little project and wanted one of those fancy effects where when someone fills out an email submission form, the text changes from 'Submit' to something like 'Please wait...' or 'Sending...'. A few seconds of Googling and voila:
<form name="form_name" action="http://www.codeave.com/html/get.asp"><input type="submit" name="button_name" value='Submit' onClick='form_name.button_name.value="Please Wait...";return true'></form>
I annotated the colors of the different fields you have to pop into the onClick statement.

One Comment
ddd