[jQuery] Re: Select LIst with Jquery

2007-07-20 Thread Danjojo
Ahh the code works fine. The problem seems to be that when shift-refreshing the browser, the selected item in the select list does not reset to the selected option. Language English Japanese Even setting it to selected does not help. If I last chose English, then when

[jQuery] Re: Select LIst with Jquery

2007-07-20 Thread Danjojo
I tried the example. In IE7, when I change the Select List to Japanese, the flag in the ID above does not change. If I select English first, then select Japanese the flag will change. What am I missing? I have for JQuery: $(function() { $("#languages").bind('change', function() {

[jQuery] Re: Select LIst with Jquery

2007-07-20 Thread Klaus Hartl
Danjojo wrote: I have some basic markup: Language English Japanese I have done some basic Jquery that changes or alters basic classes, Id's, or element attributes. But I am not sure how to use Jquery in a function manner yet. How do I get the src for the flag image