Form hide and show a part.

Form hide and show a part.

Okay I've been messing around with this for a while but I cant get it to work.

What I want is to show a <tr> when a specific value of <select> <option> is selected.

I got this code so far:

  1. <script>
  2. (document).ready(function(){
  3.   $(form select option[value='specified_range']).focus(){
  4.     $(".appel").show();
  5.   }else{
  6.     $(".appel").hide();
  7.   }
  8. );
  9. </script>

  10. <select name="walk_mode" id="walk_mode">
  11. <option value="freeroam">Lopen</option>
  12. <option value="stand">Stilstaan</option>
  13. <option  value="specified_range">Beperkt Lopen</option></select>
When I click the last option it should display a <tr> with class="appel"
If one of the first two options is selected it should do nothing.

I'm really new to jQuery but this is something I cant get to work.