I know this is not standard but I want to set the value of a div, like this:
<div id="div" value="1">
document.getElementById('div').value = 2;
to use the value you have to use document.getElementById('div').getAttribute('value')
but I cant find any way to set it. thanks in advance!