Change width property with JavaScript

Click the "Try it" button to change the width of the DIV element:

myDIV