ur requirement is to change contents of combobox 2, when a different option in combobox 1 is selected ryt..
i think you can give id to each combobox,write an onchange event or something similar to activate javascript in javascript, get the selected option of combobox 1 by using document.getElementById("id of combo 1").value write some condition on this value, and change the value of combobox 2 accordingly. because u hardcode the ids, u can just access the comboboxes using their ids..this should work whether ur comboboxes are static or dynamic. Maya menon <[EMAIL PROTECTED]> wrote: Hi all, I have a page which displays dynamic comboboxes. The records from DB will be displayed in table and two fields are getting displayed in comboboxes. Now, there is one condtion in which if user changes something in first combobox then value of second combobox should automatically change I am capturing the value of the first combobox using this.value, using logic:iterator, indexid and indexed=true to render the combo boxes. How can I capture the second combobox in this case ? How do I get the name of a dynamically rendered combobox in a javascript function Here is how the second combobox gets created ; Please provide inputs Thanks --------------------------------- Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. abhiram --------------------------------- Save all your chat conversations. Find them online.