How do I bind a function to future elements (elements that are added at run time)? for example, see the code below:
$('input, textarea').placeholder();
I want to bind the placeholder function all the yet to be in the document "input" and "textarea"
P.S. I know you can use jquery's "on" method to bind to the events but not very sure how i bind functions (placeholder in this case) to future elements.