This is a migrated thread and some comments may be shown as answers.

[Solved] Different behaviour DropDownList is initialized and document.ready in IE and firefox

0 Answers 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amandeep
Top achievements
Rank 1
Amandeep asked on 13 Jan 2011, 06:40 AM
Hi

I am using DropDownList list in my application. I am using OnLoad event of DropDownList to store DropDownList element as global variable and use that variable in $(document).ready. I found that in Internet explorer Onload event of dropdownlist is handled first and then $(document).ready function is called whereas in firefox and chrome its opposite. Can someone explain this behaviour and solution to it.

Regards

Amandeep.
Tags
General Discussions
Asked by
Amandeep
Top achievements
Rank 1
Share this question
or