Add a style attribute to existing style properties
I have a div element:
<div id="permissions" style="clear: both; float: left;">
I want to set border on onsubmit event:
<div id="permissions" style="clear: both; float: left; border: 1px #F00 solid; ">
Is there a way to do this: Append new style attribute (border) to existing styles (with out reading existing styles)?