Hi

Here, I have to create one button execute four different function from drop down list, Using jQuery.....


if the person select one value from drop down list, then when he click the button to eXcute.....
Code:
<html >
<head>
    <title></title>
</head>
<body>
    <script src="jquery.js" type="text/javascript"></script><script type="text/javascript">
     $(document).ready(function(){
     $('select[name="dropdown"]').change(function(){

    if ($(this).val() == "3")
       
        $(".Button").click(function(){

});​});​});​
 <script src="jquery.js" type="text/javascript"></script><script type="text/javascript">
     $(document).ready(function(){
     $('select[name="dropdown"]').change(function(){

    if ($(this).val() == "4")
       
        $(".Button").click(function(){

});​});​});​
<script src="jquery.js" type="text/javascript"></script><script type="text/javascript">
     $(document).ready(function(){
     $('select[name="dropdown"]').change(function(){

    if ($(this).val() == "5")
       $(".Button").click(function(){

});​});​});​
<script src="jquery.js" type="text/javascript"></script><script type="text/javascript">
     $(document).ready(function(){
     $('select[name="dropdown"]').change(function(){

    if ($(this).val() == "6")
        alert("call the do something function on option 2");
        $(".Button").click(function(){

});​});​});​
   
   
</script>
 <form action="" style="position:absolute;  top:30px; left:30px; border:3px solid Gray">SELECT DISK:<select name="dropdown">
        <option value="3 " id="3 Disk">3 Disk</option>
        <option value="4 ">4 Disk</option>
        <option value="5 ">5 Disk</option>
        <option value="6 ">6 Disk</option>
        </select></form>
        <input class="Button3" type="button" value="SOLVE" style="position:absolute;  top:90px;  left:90px; font-weight:bolder;  border:3px solid Gray"/>
</body>
</html>
This script is not working , any know how to modify or fix this script!!!!!!