On Tue, Nov 17, 2009 at 2:21 AM, ninadmhatre <ninad.mha...@gmail.com> wrote: > > HI > I am very new to Java scripting. I am stuck at one html page which has 6 > <SELECT> blocks with same ID attribute and options in this <SELECT> blocks > are nothing but the links to different pages ( ALL LINKS ARE UNIQUE ) .
You cannot have more than one element in a page with the same ID. The entire point of an ID is to *uniquely identify* an element. > This page is dynamically generated by ( Template Toolkit ) so I can not > hardcode the ID. Change the server-side code. Give the select elements a classname if it must be the same and use that in your jquery selector.