button text...

Reply

Join Date: Apr 2005
Posts: 183
Reputation: hbmarar is an unknown quantity at this point 
Solved Threads: 0
hbmarar's Avatar
hbmarar hbmarar is offline Offline
Junior Poster

button text...

 
0
  #1
Dec 3rd, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: button text...

 
0
  #2
Dec 5th, 2008
you can not do such things with pure html, it requires server side or at least client side programming.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 596
Reputation: buddylee17 has a spectacular aura about buddylee17 has a spectacular aura about 
Solved Threads: 125
buddylee17's Avatar
buddylee17 buddylee17 is offline Offline
Posting Pro

Re: button text...

 
0
  #3
Dec 6th, 2008
Yes, it will require some client side JavaScript, but not much:
  1. <input type="button" value="Play" onclick="this.value='Playing...'" />

Is this what you were needing?
Lost time is never found again.
- Benjamin Franklin
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC