Newly added elements using delegate() won't bind jscolor.js
问题 I have a simple form, where each line consists of 3 input fields. on one of those fields, I use jscolor.js (field has a class="color" and thus binds the JS). However, when I add new lines using jQuery's delegate() , the input field doesn't bind the JS and the expected functionality is not there. http://jsfiddle.net/alexwald/qARzP/ <script> var line = '<li class="form_line" id="line"> <span> <label for="item">Item:</label> <input type="text" required="required" placeholder="what item is this?"