Welcome visitor
* Login
* Register
It is currently May 19th, 2019, 8:27 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  change button value
PostPosted: July 21st, 2009, 9:00 pm 
User avatar

Posts: 34
I have an updating form and the submit button says "Update". How can i do it so it changes from "update" to "updating" when the button is clicked?
thanks.


Top
 Profile  
 
  Re: change button value
PostPosted: July 21st, 2009, 9:23 pm 

Posts: 117
See if this works for ya
<input id="sub"type="submit" value="Update" 
onclick="document.getElementById('sub').value='updating'">


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron