title: jQuery if else and selected value from select tag
body: <p>Why can't I get the value selected from my  input, am I doing something wrong?</p>
  
  <pre><code> if($('#target option:selected').text() == "add")
                      $("#add").show(selectedEffect, options, 500, callback );
                   else if ($('#target option:selected').text() == "exit")
                      $("#exit").show(selectedEffect, options, 500, callback );
                   else if ($('#target option:selected').text() == "refuse")
                      $("#refuse").show(selectedEffect, options, 500, callback );
                   else
                      alert('test');
  </code></pre>