lilman Posted December 30, 2006 Share Posted December 30, 2006 With this code: document.getElementById(divName).innerHTML = text;document is the object, getElementById(divName) would that be the method and the innerHTML be the property? if someone could clarify this for me that would be great! Quote Link to comment Share on other sites More sharing options...
fenway Posted December 30, 2006 Share Posted December 30, 2006 getElementById is a method of the document object; innerHTML is one of its attributes/properties. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.