<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title></title>
</head>
<body>
</table>
</body>
<script language="javascript" type="text/javascript">
Ext.onReady(function () {
Ext.Ajax.request({
url: 'core/WebService.asmx/Time',
headers: { 'Content-Type': 'application/json; charset=utf-8' },
method: 'POST',
jsonData: { ID:id},
success: function (response) {
}
failure: function () { Ext.Msg.alert("错误"); } });
});
</script>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title></title>
</head>
<body>
</table>
</body>
<script language="javascript" type="text/javascript">
Ext.onReady(function () {
Ext.Ajax.request({
url: 'core/WebService.asmx/Time',
headers: { 'Content-Type': 'application/json; charset=utf-8' },
method: 'POST',
jsonData: { ID:id},
success: function (response) {
}
failure: function () { Ext.Msg.alert("错误"); } });
});
</script>
</html>
解决方案 »
- 怎么用jquery获得表格数据?
- 关于用script编写, 对input type="text"和textarea的问题。
- 请教javascript在chrome中不显示的问题
- JavaScript 实现打开钱箱????
- 求一js实现表单提交效果
- 字符串转义
- 问题1:怎么用getElementById取属性?问题2:怎么灵活操作getElementById?
- 如何让一个DIV层(非图)看起来像渐渐消失
- 如何实现选择一checkbox时设置另一input控件的属性为readonly(或取消之)
- 更改百度搜索表单
- 在页面运算取整该怎么做啊???????请教高手指点
- 一个底部浮动,理解不了,请哥哥们,帮助下?
在<head>标签内引入js
<head>
<script src="/ext文件路径/EXT.js"></script>
</head>