Hi there!
I'm a newbie in js and I'm afraid that i haven't the knowledge to resolve the next issue.
If I have a select element ( populated with several options ) already parsed by the browser on the load, the next code works just fine in both IE and FF
$('selectId').focus();
but if I create ( and populate it ) the element via js
var select = new Element('select',{ 'id':'selectId' });
~ etc. with options ~
select.focus();
the focus event doesn't work in IE. With FF is everything OK!
I've already tried various methods to workaround this issue but without good results! Every time I need to click on the element to activate the focus event ( in IE ).
( yes, I use the mootools library! )
Any help will be very appreciated!
Thank you!