Sunday, 3 March 2013

Jquery for Select Country and State

Source Code:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Select Country and State </title>
<script type= "text/javascript" src = "countries.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <table border="0" width="500" align="center">
      <tr>
      <th colspan="2" ><p align="center">Select country and  state </p></th>
      </tr>
      <tr>
      <td>Select Country:</td>
      <td> <select onchange="print_state('state',this.selectedIndex);" id="country" name ="country">
      <option >Select Country</option>
      </select></td>
      </tr>
      <tr>
      <td>State:</td>
      <td> <select name ="state" id ="state">
          <option >Select State</option>
          </select></td>
      </tr>
    </table>
    <script language="javascript">print_country("country");</script>  
</body>
</html>


Download :

Countries  

3 comments:

  1. This is my first time pay a visit at here and i am in fact
    happy to read all at single place.

    Here is my page :: diets That work

    ReplyDelete
  2. Hello colleagues, fastiԁious parаgraph anԁ goοd aгguments commented at this place, I am truly enjοying by theѕe.


    my web page; health and active

    ReplyDelete
  3. Hello! I just wanted to ask if you ever have any issues with hackers?
    My last blog (wordpress) was hacked and I ended up losing
    months of hard work due to no back up. Do you have any
    solutions to stop hackers?

    Take a look at my webpage - bmi calculator for women

    ReplyDelete