1<input type="text" value="1" id="thisIsAnId1" />
2 <input type="text" value="2" id="thisIsAnId2" />
3 <input type="text" value="3" id="thisIsAnId3" />
4 <Script>
5 $("[id*=thisIsAnId]").each(function() {
6 this.style.color = "blue";
7 });
8 </Script>
9