7

document.getelementbyid("myid");

Runtime error !
must be "ById"
:/

also same problem with elem.innerHtml
(Correct: elem.innerHTML )

Comments
  • 2
    Need the correct caps bro
  • 2
    I mean I'm fully in agreement with JS for both of those... Always go with camel case, and that includes capitalising acronyms (HTML)
Add Comment