I've tried to do a really easy peasy example of what I'm trying below.
Could you please take a look and correct me where I'm going wrong please ?
Thanks !
Please rate this post if it was useful for you!
Please try to search before creating a new post,
Please format code using [ code ][ /code ], and
Post sample code, error details & problem details
<html>
<head></head>
<script language="vbscript">
Sub Button1_OnClick
MsgBox "The Value selected from the combobox is " & document.Form1.IDCar(document.Form1.IDCar.selectedIndex).value
End Sub
</script>
<body>
<input type="button" value="click me" name="button1">
<br><br>
<form Name="Form1">
<select Name="SelCar" ID="IDCar">
<option value="Mini">Mini</option>
<option value="Mini Metro">Mini Metro</option>
<option value="Metro">Metro</option>
</select>
</form>
</body>
</html>
Please rate this post if it was useful for you!
Please try to search before creating a new post,
Please format code using [ code ][ /code ], and
Post sample code, error details & problem details