adding search icon to input box
问题 <div id="inputs"> <input type="text" value=""> <input type="text" value=""> </div> <input type="button" id="add" value="Add input"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script> <script type="text/javascript"> $(function(){ $('#add').click(function(){ $('#inputs').append('<input type="text" value="">'); }); }); </script> Within the code above, i want to add a search icon for every new input generated with a button (id=add ; not shown here for