I’d like to refresh in an input text after dynamically add the attribute “data-theme”.
How can I do this?
I’d like that: http://jsfiddle.net/Sgrve/5/
If I click the “Change Theme”, I want to change the color of the input.
Data-theme attribute change but the color don’t change.
Live Example:
JS
HTML
UPDATE From your comment
JS
HTML