开发者

Object doesn’t support this property or method - 'open'

开发者 https://www.devze.com 2023-02-24 07:06 出处:网络
I have upgraded my browser to IE9 and this problem has started. It works fine in IE8. I want to open image开发者_StackOverflow in lightbox.

I have upgraded my browser to IE9 and this problem has started. It works fine in IE8.

I want to open image开发者_StackOverflow in lightbox.

<a href="javascript:void(0);" onclick="jQuery.prettyPhoto.open('filepath', 'test', 'test');" title="test">View image</a>

but onclick of view image it shows error "Object doesn't support property or method 'open'".

Please anyone. help!!!

Thanks in advance


suggest something not loading on the face of it...

any chance you can switch to unobtrusive JS? attache the click event to the element with javascript and go from there - thats just a point on execution rather than a possible cause BTW

0

精彩评论

暂无评论...
验证码 换一张
取 消