I've hit this in two seperate places and not exactly sure why...
(I think its the 18 hour days, 7 days a week... <g>)

If "value" is hard set with '3' the following works:
However, if we use a variable (selectThis) and assign it "3" it does not
var selectThis;
selectThis = '3';

Type casting doesn't work either:
var selectThis;
selectThis = String('3');

I'm having the same problem here too (compare o.value== 'GA' and the select
gets set to GA):
selectThis = 'GA'
$$('select#ajstate option').each(function(o){
    if(o.value==selectThis){o.selected = true;$break;}

What am I missing here?

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to