/    Sign up×
Community /Pin to ProfileBookmark

Help with button

Ok I just made this site goto [url]http://www.gallery4it.com/[/url] (Free flash gallery genarator) now here is what I’m trying to do: When a user uploads images up clicking ” creat gallery ” after the user clicks on that button How can I change that button to ” Uploading… please wait” I’ve seen this somewhere but I forgot where..

thx
Rubayath

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@hyperliskApr 06.2006 — <i>
</i>&lt;input type="button" value="Click to Upload" onClick="this.value='Uploading...'"&gt;

And if you want the button to be disabled so they can only click it once, use this:
<i>
</i>&lt;input type="button" value="Click to Upload" onClick="this.value='Uploading...';this.disabled=true"&gt;
Copy linkTweet thisAlerts:
@ellicitauthorApr 06.2006 — thanks ?
×

Success!

Help @ellicit spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...