return the account object when given a particular id javascript code example
Example 1: getelementbyid
document.getElementById("someid");
Example 2: get document by id
var element = document.getElementById(id);
document.getElementById("someid");
var element = document.getElementById(id);