title: Apply a plugin's method to dynamically created elements?
body: <p>I'm using the jquery.maskedinput plugin to create a mask for a phone number field:</p>
  
  <pre><code>jQuery('input[type="tel"]').mask("(999) 999-9999");
  </code></pre>
  
  <p>Using a modification of Ryan Bates's <a href="http://railscasts.com/episodes/197-nested-model-form-part-2" rel="nofollow">nested form</a>, I have a form where multiple phone numbers can be added dynamically via an "Add phone number" link. This link creates additional inputs, but the mask functionality is not applied. I am aware of the live() method in jQuery but am not sure if/how it can be used to apply the mask() method. Is there a way to apply this mask to dynamically created inputs?</p>