Avatar of Whing Dela Cruz
Whing Dela Cruz
Flag for Anguilla

asked on 

Do alert on select

Hi experts, I wish to have an alert in every time  i do select. As the code shown below.. Thanks!

<!DOCTYPE html>
<html>
<body>

<form>
  <select name="cars">
    <option value="volvo">Volvo</option>
    <option value="saab">Saab</option>
    <option value="fiat" selected>Fiat</option>
    <option value="audi">Audi</option>
  </select>
</form>

<script>
function iSelect()
  {
    alert is here...
  }
</script>
</body>
</html>
HTMLJavaScript

Avatar of undefined
Last Comment
Whing Dela Cruz

8/22/2022 - Mon