KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need that every text input in a given class is a datepicker. Something like: $("input[type=text].time").datepicker(); but I'm adding a lot of code via Jquery.load() so I believe I need a delegate. The problem is I don't know how to do it, because as far as I know, load event cannot be used in a delegate. It will be easy if it exists: $(document).delegate("input[type=text].time", "load", function(){ $(this).datepicker(); });
Tags (comma-separated)
Save Edits
Cancel