Hi all
Any ideas how I would go about writing a javascript method to insert an attribute to a tag
eg. I have
<input id='in1' value='Submit' type='submit'/>
and I want to insert an attribute name
<input id='in1' name='submit_content' value='Submit' type='submit'/>
Thanks