At first i only want to know if this:
document.getElementsByClassName("main-content_datafield").style.width= this.value;
is valid to use. If it is i would made a mistake. I want to create a rangeslider that controlls the size of some objects. For this i used javascript to get the value of the slider and added the code from before. So finaly it looks like this:
So what did i do wrong here?
thank you!