RE: im n00b
not knowing much about javascript but:
document.getElementById('a').style.width="300px";
should be
document.getElementById('a').innerHTML = "width='300px';";
Im not sure if this will work:
But if I ever use GetElementById()
I always use " " insteas of ' '
This post was edited on 06-08-2007 at 08:03 PM by Nathan.
|