<input type = "range" name = "salary" max = "20" min = "15" onchange="document.getElementById('show').innerHTML=value"> <span id="show"></span>