title: jQuery detect if input is filled
body: <p>I created this function which animates label when input has focus. </p>
  
  <pre><code>$("input").on("focus", function () {
    $(this).siblings().animate({
      top: "-20",
    }, 70, function() {
    });
  });
  </code></pre>
  
  <p>I would like animate it back if input stays unfilled. </p>
  
  <p><a href="http://codepen.io/anon/pen/zqvyyM" rel="nofollow">Here</a> is my codepen </p>