title: how many else ifs can i use , last else not working
body: <p>What can I do to inprove this script? The last else if wont work for some reason I have tried a lot to get it to work and it just wont.</p>
  
  <pre><code>var selectedDntTyp = $("#donationTypDD");
  if (selectedDntTyp.length &gt; 0)
    var DropInitValue = selectedDntTyp.val();
  if(DropInitValue == '1'){
    $(".Notify_brick").show();
    $("#in_memory_input").show();
  } else if(DropInitValue == '3'){
    $(".Notify_brick").show();
    $("#on_behalf_input").show();
  }
  $("#donationTypDD").change(function(){
    if($(this).val()=="1") {
      $(".Notify_brick").slideDown();
      $("#in_memory_input").slideDown();
    } else if($(this).val()=="3") {
      $(".Notify_brick").slideDown();
      $("#on_behalf_input").slideDown();
    } else if ($(this).val=="1"||$(this).val!="3") {
      $(".Notify_brick").slideUp();
      $("#on_behalf_input").slideUp();
    } else if ($(this).val=="3"||$(this).val!="1") {
      $(".Notify_brick").slideUp();
      $("#in_memory_input").slideUp();
    } else if ($(this).val!="1"||$(this).val!="3") {
      $(".Notify_brick").slideUp();
      $("#in_memory_input").slideUp();
      $("#on_behalf_input").slideUp();
    }
  })
  </code></pre>