codippa.com codippa.com

How to select all elements whose id starts with some string / Using Wild cards in jQuery / How to apply calendar on more than one field / How to select all elements with id starting with something

Suppose we have more than two input boxes on which we want to apply calendar. A jQuery datepicker can be applied to an input box using: $(“#calendarField”).datepicker(); Where we have used the id of element (after “#”). A datepicker can be applied to an element ONLY by using its id i.e., for every element we need to add a calendar, we need to add this line (since ids of elements need to be unique). So for 10...