<!DOCTYPE html>
<html lang="en-US">
<body>
<p>Try to change the value in select tag</p>
<select id="mySelect" onchange="myFunction()">
<option>Harley Davidson</option>
<option>Honda</option>
<option>Suzuki</option>
<option>Yamaha</option>
</select>
<p id="point"></p>
<script>
function myFunction() {
var x = document.getElementById("mySelect").value;
document.getElementById("point").innerHTML = "You selected: "+x;
}
</script> </body>
</html>