Events
Welcome

Forgot Password?
Page Counter
5,535
Poll
Do You like this site
no 0

yes 1


1 votes
Chat Box
Welcome

hi everone


<!DOCTYPE html>
<html>
<head>
<script>
function displayResult()
{
var x=document.getElementById("mySelect").selectedIndex;
var y=document.getElementsByTagName("option");
alert("Is " + y[x].text + " selected by default? " + y[x].defaultSelected);
}
</script>
</head>
<body>

<form>
You'r age?
<select id="mySelect">
  <option>11</option>
  <option>12</option>
  <option>13</option>
  <option>14</option>
</select>
</form>

<button type="button" onclick="displayResult()">Ok ur  school ?</button>

</body> 
</html>

Activity Feed · Show What's New
No recent activity to display.
Online Members
None
Online Guests: 1