I am getting jquery error in IE 9 while using below code in my Orchard Module.It is working in Firefox and Chrome but not in IE 8/9.
This issue is not happening in normal asp.net application.This Occurs only in my Orchard Module.
Microsoft JScript runtime error: Unable to get value of the property 'offsetWidth': object is null or undefined
in "jquery-1.7.1.js" line number 3164.
event.target.offsetWidth --- > when i debbugged, it says event.target is undefined and Also this error always occurs when a jquery focus method calls.
This same error occurs when i am trying to use JQuery AutoComplete Plugin for a TextBox.
I am not using focus method explicitly,But it calls internally inside JQuery Dialog and AutoComplete plugin.
So it throws "offset width" error while setting focus to an element.
Please help me to solve this.