Set the content to an attribute, and change the attribute with script.

POC: http://jsfiddle.net/moagrius/9vt04bch/