var button = document.getElementById('test');
button.style.position = 'relative';
button.style.left = '100px';
button.style.top = '100px'; var box = document.getElementById('test');
var range = box.getBoundingClientRect();
console.dir(range); $(".inout").on("click", function () {
$(this).toggleClass("active");
});