Im having a language selector on my asp.net web site. I plan to do a submit when the visitor change langauge, like this:
$('select#front_language').bind('change keyup', function () { $('<input />').attr('type', 'hidden').attr('name', 'languageaction').attr('value', 'change').appendTo('body'); $('form').submit(); });
The problem is that I also have a login box (username/password) on the site. The above approch, in FF for example, will ask the user if he wish to remember password.
I also thought about doing a javascript redirect, but would then have to manipulate the querystring (ie ?language=enu should become ?language=jpn).
As it is not allowed to have multi forms on asp.net sites I am not sure how the best approach would be, any suggestions?
From your comments I came up with this solution:
Thank you for leading me in the right direction.