JQuery .zoom功能在ASP.net usercontrol中不起作用 [英] JQuery .zoom functionality not working in ASP.net usercontrol

查看:71
本文介绍了JQuery .zoom功能在ASP.net usercontrol中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我的页面上有以下脚本 -



Hi,

I am having following script on my page -

<script>
    $(document).ready(function () {
        $('#ex1').zoom();
    });
    </script>







如果我在一个简单的html页面中使用它,上面的脚本工作正常。但是同样的情况不适用于使用此用户控件在页面中调用主页面的用户控件。



我收到错误SCRIPT438:对象没有在IE开发人员工具中支持属性或方法缩放'



请帮我解决这个问题




The above scripts works fine if i am using it in a simple html page. But the same is not working on a User control with Master Page called in the page using this user control.

I am getting error "SCRIPT438: Object doesn''t support property or method ''zoom'' " in IE Developer Tools

Please help me out of this issue

推荐答案

(document).ready(function(){
(document).ready(function () {


('#ex1')。zoom();
});
< / script >
('#ex1').zoom(); }); </script>







如果我在一个简单的html页面中使用它,上面的脚本工作正常。但是同样的情况不适用于使用此用户控件在页面中调用主页面的用户控件。



我收到错误SCRIPT438:对象没有在IE开发者工具中支持属性或方法缩放'



请帮我解决这个问题




The above scripts works fine if i am using it in a simple html page. But the same is not working on a User control with Master Page called in the page using this user control.

I am getting error "SCRIPT438: Object doesn''t support property or method ''zoom'' " in IE Developer Tools

Please help me out of this issue


问题现在解决了。问题是该页面无法引用.jquery文件。



全部谢谢
The issue is resolved now. The problem was that the page was not able to refer the .jquery file.

Thanks All


这篇关于JQuery .zoom功能在ASP.net usercontrol中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆