[Dojo-interest] IE7 setAttribute()

ALien_13 alien_ck_13 at hotmail.com
Sun Jun 20 22:14:00 EDT 2010


finally i got it right. thx eugene. the proper way of set the margin
programmatic is 

var tmp = dojo.query(".myicon");
			if(dojo.isIE){
				for(i=0;i<tmp.length;i++){
					dojo.attr(tmp[i],"style",{
						marginRight:"10px"
					});
				}
			}
-- 
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/IE7-setAttribute-tp904994p910266.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.


More information about the Dojo-interest mailing list