Hello…
I have a text and a button and I needed to when the button is clicked, a new text substitute the first one and the label of the button is also changed and when the button is clicked again, everything returns to the firsts state.
I google this subject, but only found portions of it, I learned how to change the text and the text of the button, but change them to the first state I don't know.
Replace Button and Text
Moderator: General Moderators
Re: Replace Button and Text
Hi,check this http://jsfiddle.net/pY6jV/1/.
Re: Replace Button and Text
That's it!
Thank you!
Thank you!
Re: Replace Button and Text
Ok..All the best