>>>>Make sure they are included in the right order and also try refreshing everything. I think I had similar problems when one of the scripts was not correctly loaded.
>>>
>>>I did double check this.
>>
>>Can you post code of including these two files?
>>
>>Also, may be there should be css file included as well?
>
>The first message I posted has the inclusion of both files. And no css is used in a test page (where the code works). So I don't see how the .css could contribute to the problem. But, of course, everything is possible.
If your master page located in the same directory as your test page? E.g. Scripts folder is relative the same way?
If it's not broken, fix it until it is.
My Blog