I am attempting to add this code to a dynamically created div element
style = "width:330px;float:left;"
This code creates the dynamic div
var nFilter = document.createElement('div');
nFilter.className = 'well';
nFilter.innerHTML = '<label>' + sSearchStr + '</label>';
I want to add the style after <div class=”well” but I do not know how to do it. Can someone help me with this?