get element by id style content 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);