Jump to content
Asked by LindaHarmes
Posted Oct 21 2011 12:00 PM
<body onload="resizeRock();greetUser();" onresize=="resizeRock();">
I get an error saying that onresize is not an attribute of body when I try to run the page. How can I correct this?
Answered by LindaHarmes
Posted Oct 21 2011 01:33 PM
Once I took out the <!DOCTYPE html .....> line inserted by VS 2010 and removed the xmlns attribute, also added by VS 2010, everything worked fine.