Hi
I'm implementing a plug-in that displays 2 select inputs. The behavior should be exactly the same than "project" and "zone" standard input : when I change the selected item of the first select, the second one is updated regarding the new selected item of the first select input.
I added an onchange event on the first select. this event execute this ugly code
options='<option value="V1">V1</option>'; // building new options
options+='<option value="V2">V2</option>';
$("select#idSelectTemp_1").html(options); // fixing new options
after that, if I have a look to the html code with firebug, I can see something like that :
<select id="idSelectTemp_1" name="P6_ixContact" style="display: none;">
<option value="V1">V1</option>
<option value="V2">V2</option>
</select>
So... It works ! well... It should work. In the user interface, the values in the secondary select input have not changed at all... I suspect that I have to call something to make the input field refreshed but I did not find what...
any idea ?
regards Julien