How to set style -webkit-box-shadow: 0px 0px 11px #000 to an element via JavaScript?
-webkit-box-shadow: 0px 0px 11px #000
You can set it using the style object:
style
element.style['-webkit-box-shadow'] = '0px 0px 11px #000';
Demo: jsfiddle.net/S2eLb/
To be clear, this method does not require the jQuery library.