It became interesting what is the difference between:

document['getElementById']("id"); и document.getElementById("id"); 

specifically in performance can, or browser policy.

Everything;)

    1 answer 1

    http://shamansir.github.com/JavaScript-Garden/#object.general :

    the only difference is that using square brackets allows you to set properties dynamically