title: Show or hide content of a div based on value inside another div?
body: <p>I'd like to show a message inside a div if the value inside another div is over a certain value. I can work that out but the value inside the other div will change depending on what the user has selected and then the required message doesn't appear or disappear each time this happens. I'm currently using:</p>
  
  <pre><code>if ($('#id1').val() &lt; '25') {$('#id2').css('display','none');}
  </code></pre>
  
  <p>So #id2 is set to display as normal, but when a dropdown selection changes the value displayed inside #id1 to something less than 25 it needs to disappear and vice versa.</p>
  
  <p>Any ideas? Thanks.</p>