title: jQuery: hide and show an input element
body: <p>I'm trying to do is hiding/showing a certain input object if a select value is checked.</p>
  
  <p><a href="http://jsfiddle.net/FarVX/17/" rel="noreferrer">Code in JSFiddle</a></p>
  
  <p>The HTML part of the code is here:</p>
  
  <pre><code>&lt;label for="add_fields_placeholder"&gt;Placeholder: &lt;/label&gt;
  &lt;select name="add_fields_placeholder" id="add_fields_placeholder"&gt;
      &lt;option value="50"&gt;50&lt;/option&gt;
      &lt;option value="100"&gt;100&lt;/option&gt;
      &lt;option value="Other"&gt;Other&lt;/option&gt;
  &lt;/select&gt;
  &lt;div id="add_fields_placeholderValue"&gt;
      Price:
      &lt;input type="text" name="add_fields_placeholderValue" id="add_fields_placeholderValue"&gt;
   &lt;/div&gt;​
  </code></pre>
  
  <p>And the jQuery part is here:</p>
  
  <pre><code>$(document).ready(function()
  {
      $("#add_fields_placeholder").change(function() {
          if($(this).val() == "Other") {
              $("#add_fields_placeholderValue").show();
          }
          else {
              $("#add_fields_placeholderValue").hide();
          }
      });
  });
  </code></pre>
  
  <p>​
  So if user selects "Other", it shows another input object.</p>
  
  <p>The problem now is this. First when you open the page the first option is selected by default and the optional input object is shown. It hides once you select another option.</p>
  
  <p>Is there any trick to make it hide when you first load the page too? Not just when you select a value manually.</p>
  
  <p>Thank you guys.</p>