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

Recommended Answers

All 2 Replies

you can not do such things with pure html, it requires server side or at least client side programming.

Yes, it will require some client side JavaScript, but not much:

<input type="button" value="Play" onclick="this.value='Playing...'" />

Is this what you were needing?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.