943,646 Members | Top Members by Rank

Ad:
Dec 3rd, 2008
0

button text...

Expand Post »
Hi,

I was thinking on a need but could not reach anywhere. That is say , i got a multimedia contents for download or say an action. For eg:-

If document, a button with label 'Print' and on click , says 'printing...' , if 'save' , on clickd shows 'saving....' If video or audio, 'play' on click says 'playing'..

Please help me with some pointers...

Thanks and regards,

Harish
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
hbmarar is offline Offline
187 posts
since Apr 2005
Dec 5th, 2008
0

Re: button text...

you can not do such things with pure html, it requires server side or at least client side programming.
Featured Poster
Reputation Points: 854
Solved Threads: 127
Banned
serkan sendur is offline Offline
2,057 posts
since Jan 2008
Dec 6th, 2008
0

Re: button text...

Yes, it will require some client side JavaScript, but not much:
html Syntax (Toggle Plain Text)
  1. <input type="button" value="Play" onclick="this.value='Playing...'" />

Is this what you were needing?
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
buddylee17 is offline Offline
665 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: css - font issue
Next Thread in HTML and CSS Forum Timeline: Text box mouseover





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC