Alex Duffield wrote:
I use
$('b_country').value = $F('c_country');
new Effect.Highlight($('b_country'));

This works great on everything on Firefox, but fails on the select box in IE.

Perhaps:

$$('#b_country option[value='+$F('c_country')+']')[0].selected = true;

The above code is just off the top of my head and of course would not work if the <option> was not using the "value" attribute and instead defaulting from the contents of the <option>.

Eric

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to