找回密码
 立即注册

QQ登录

只需一步,快速开始

LJLLY

银牌会员

6

主题

25

帖子

3780

积分

银牌会员

积分
3780

活字格认证

LJLLY
银牌会员   /  发表于:2015-3-4 16:59  /   查看:15837  /  回复:22
报错信息:JavaScript runtime error: Script error for: wijmo.wijinputtext
http://requirejs.org/docs/errors.html#scripterror
源码即wijmo3工具包中\Samples\WidgetExplorer\samples\inputtext\format.html我在vs2010建立网站将该页面代码移植于aspx页面更换引用文件路径,代码如下
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <meta charset="utf-8" />
    <title>Input Text - Format</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="description" content="First name sample." />
    <meta name="keywords" content="" />
    <meta name="author" content="ComponentOne" />
    <%--theme--%>
    <link href="../../Themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" />
    <%--Wijmo css--%>
    <link href="../../css/jquery.wijmo-pro.all.3.20143.61.min.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/Wijmo/js/require.js" type="text/javascript"></script>
    <script src="../../Scripts/Wijmo/js/require.wijmo.config.js" type="text/javascript"></script>

    <script id="scriptInit" type="text/javascript">
       require(["wijmo.wijinputtext"], function () {
          $(document).ready(function () {
             $("#textbox1").wijinputtext({
                format: '9'
             });
          });
       });
    </script>
</head>
<body class="demo-single">
        <div class="container">
        <div class="header">
            <h2>
                Format</h2>
        </div>
        <div class="main demo">
            <!-- Begin demo markup -->
            <input type="text" id="textbox1" />
            <h6>
                Format</h6>
            <p>
                9</p>
            <!-- End demo markup -->
            <div class="demo-options">
                <!-- Begin options markup -->
                <!-- End options markup -->
            </div>
        </div>
        <div class="footer demo-description">
            <p>
                This sample illustrates how you can use the <b>format</b> option to allow only input numbers (0-9).</p>
        </div>
    </div>
</body>
</html>
红色字体处报错

22 个回复

正序浏览
Alice
社区贡献组   /  发表于:2015-3-10 15:48:00
23#
回复 21楼LJLLY的帖子

你好,你提到的电脑不能查看的在线示例的问题没有重现。
请可以在其他浏览器或是计算机上重新尝试。

如果你对wijmo5的基本概念依然有疑问,建议你看看我们官网首页的介绍和视频。
并且可以阅读下wijmo5产品文档的的Welcome to Wijmo5章节。有对wijmo的需求描述,它支持现代浏览器(IE9或以上)

再次发下首页的地址和文档。
首页:http://wijmo.gcpowertools.com.cn/5/
文档:http://wijmo.com/5/docs/
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
LJLLY
银牌会员   /  发表于:2015-3-10 15:35:00
22#
wijmo3 html页面与后台数据交互,例如combox前后台代码
回复 使用道具 举报
LJLLY
银牌会员   /  发表于:2015-3-10 10:43:00
21#
wijmo5是专用在移动端浏览器的吧?wijmo3是专用于PC端浏览器的吧?我还以为wijmo是PC,移动通用
回复 使用道具 举报
LJLLY
银牌会员   /  发表于:2015-3-10 09:40:00
20#
这是我打开你给链接的显示,用谷歌41版本,IE11版本一样

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
Alice
社区贡献组   /  发表于:2015-3-9 17:59:00
19#
回复 15楼LJLLY的帖子

很抱歉之前的理解是wijmo3的。
Wijmo5的文档,请参考:
http://wijmo.com/5/docs/

我在电脑上可以正常查看在线演示。
在线演示链接:http://wijmo.gcpowertools.com.cn/5/#demos
我的IE浏览器:IE11。

请再次尝试链接中的演示,并提供出错的具体的Demo的名称,还有浏览器信息。
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
LJLLY
银牌会员   /  发表于:2015-3-9 17:56:00
18#
wijmo有多窗口功能吗,就是说能同时打开多个Dialog,并且窗口间可传递数据,有这功能吗,我的项目需求明确需要该功能,敬请答复
回复 使用道具 举报
LJLLY
银牌会员   /  发表于:2015-3-9 16:48:00
17#
wijmo5只针对移动端,电脑上浏览显示不出来吗?
回复 使用道具 举报
LJLLY
银牌会员   /  发表于:2015-3-9 16:45:00
16#
官方关于wijmo5的网页示例好多都打不开或无法正常显示,我的浏览器可都是很新的版本呀
回复 使用道具 举报
LJLLY
银牌会员   /  发表于:2015-3-9 15:17:00
15#
既然Wijmo5目前已经支持这些主流浏览器,它们是:IE6+,FireFox3+,Safari3+以及Chrome。我想还是使用wijmo5吧,只是你给的产品在线文档是wijmo3的吧,有wijmo5的吗
回复 使用道具 举报
123下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部