السلام عليكم..
اريد معرفه كيف بالدوال واجراءات اختار option or select or check
بحيت ينفدلي اجراء معين
الحين متلا ابي ادخل رقم واختار من قائمة تحويله لعدد عشري او سادس عشري الخ
كيف اسويها
<html>
<head>
<title>This is the title of the page </title>
<script language="vbscript">
sub check_form
dim num
set num=document.myform.num.value
msgbox("num"&num)
if num=v1 then
msgbox("oct"&oct(num))
else
msgbox("exit")
end if
end sub
</script>
</head>
<body>
<form name=myform>
enter a number: <input type="text" name="num"><br>
<select name="what">
<option value=1>عشري</option>
<option value=2>تماني</option>
<option value=3>سادس عشري</option>
</select>
<input type="button" value=send onclick=check_form><br>
</form>
</body>
</html>وهدا لحاله واحده