lau*_*ent 2 compatibility internet-explorer jquery-mobile
我正在尝试让我的jQuery Mobile与Internet Explorer一起工作.
我的代码很简单,只是一个小形式.
我在那里放了一个演示:http://pogopixels.com/jqmtest.html
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="content">
<form action="http://mxc.local/api/signup" method="post" accept-charset="utf-8">
<div data-role="fieldcontain">
<label for="email">Email</label><input type="text" id="email" name="email" />
</div>
<div data-role="fieldcontain">
<label for="username">Username</label><input type="text" id="username" name="username" />
</div>
<div data-role="fieldcontain">
<label for="password">Password</label><input type="password" id="password" name="password" />
</div>
<div data-role="fieldcontain">
<label for="confirmPassword">Confirm</label><input type="password" id="confirmPassword" name="confirmPassword" />
</div>
<button name="submit">Sign Up</button>
</form>
</div> <!-- /content -->
</div>
<!-- /page -->
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
它适用于Firefox和Chrome,但IE9显示空白页面.
IE在底部显示消息,如"显示localhost使IE切换到兼容模式的问题".
知道我能做些什么让它起作用吗?
我在另一个问题中得到了答案--Mobilejquery在Internet Explorer上没有显示任何内容
我们已经停止在IE上测试jQuery mobile,因为很多东西都无法正常工作,如果它在所有手机和Chrome/FF上工作正常我觉得很麻烦 - 它适用于手机而且你可以在大多数情况下开发Chrome - Clay刘2月8日17:17
遗憾的是,对我来说,不支持IE是一个交易破坏者(即使该框架确实用于移动电话).
| 归档时间: |
|
| 查看次数: |
8615 次 |
| 最近记录: |