I would like to obtain the non-computed style property of an element
examples:
jquery:
Code:
$(element).css("width")
Code:
element.style.width
...
$(element).css("width")
element.style.width
UPDATE items i, cartitems c SET stock = (stock-1) WHERE i.id = c.itemid AND c.userid = '7';
<div style="position:absolute;left:50px;right:50px;top:50px;bottom:50px">
<div style="position:relative;margin:0 auto;height:100%;width:500px;">testing123</div>
</div>
function addEvent(elem, etype, func){
if(!etype || etype.constructor != String || !func || func.constructor != Function)return false;
[U]if(etype.indexOf("on") == 0)etype.replace("on","");[/U]
if(window.addEventListener)elem.addEventListener(etype,func,false);
var buttons = ["MenuX", "MenuY", "MenuZ", "MenuZZ"]; var menu_page_generators = [ function(m,
Vector<ClassX> xv = new Vector();
ListIterator<ClassX> it = objlist.listIterator();
while(it.hasNext()){
ClassX temp = it.next();
temp. doThis();
}
Leave a comment: