I am trying to use this code:

Code:
document.getElementById('elementId').style.text-decoration = 'blink';
But I get an error about the hypen in between text and decoration. Is there a work around or can I use something like:

Code:
document.getElementById('elementId').style['text-decoration'] = 'blink';