输出的html莫名多出一个<script id=__ie_init>

问题描述

本人使用jquery和它的datePicker插件,打算做日期选择。本地文件打开,测试正确(file://这样的)但是我把相同的html放到aspx里用Response.Write输出,就会莫名奇妙多出一个<scriptid=__ie_init>,导致日期选择无法正常工作,不知何解?代码如下:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/><title>后台管理系统</title><linkhref="styles/style.css"rel="stylesheet"type="text/css"/><linkhref="styles/datePicker.css"rel="stylesheet"type="text/css"/><scripttype="text/javascript"src="script/jquery-1.2.1.min.js"></script><scripttype="text/javascript"src="script/jquery.datePicker.js"></script><scripttype="text/javascript"src="script/jquery.dimensions.js"></script><scripttype="text/javascript"src="script/date.js"></script><scripttype="text/javascript"src="script/AddProduct.js"></script><scripttype="text/javascript"src="script/DateInit.js"></script></head><body><divid="top"><divid="top_logo"><imgsrc="images/logo.jpg"width="333"height="82"/></div><divid="top_opra"><divclass="div_row">您好,<spanstyle="color:#00f;">麦兜</span>!|<ahref="#">修改密码</a>|<ahref="#">注销</a>|<ahref="#">帮助</a></div></div></div><divid="content"><tablewidth="99%"border="0"cellspacing="0"cellpadding="0"><tr><tdwidth="236"align="left"valign="top"><!--Left--><divid="left"><divid="left_bt"></div><divclass="left_menu"><divclass="listboxbt">帐户管理</div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listboxbt">帐户管理</div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listboxbt">帐户管理</div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listboxbt">帐户管理</div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div><divclass="listbox"><ahref="#">我的订单</a></div></div><divclass="left_bottom"></div></div><!--LeftEnd--></td><tdalign="left"valign="top"><!--Right--><divclass="right"><divclass="right_bt"><imgsrc="images/add.gif"/>当前位置:<spanstyle="color:#096">我的订单</span></div><divclass="bottom"></div><!--表格数据--><divclass="new_ev_box"><formstyle="margin:0px;"action=""><divclass="row"><divclass="new_ev_left">名称:</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputt"/></div></div><divclass="row"><divclass="new_ev_left">市场价:</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputt"/></div></div><divclass="row"><divclass="new_ev_left">提交日期:</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputt"/></div></div><divclass="row"><divclass="new_ev_left">前台有效显示时间(开始):</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputtDatePicker"readonly="readonly"/></div></div><divclass="row"><divclass="new_ev_left">前台有效显示时间(结束):</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputtDatePicker"/></div></div><divclass="row"><divclass="new_ev_left">代表产品的图标文件名:</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputt"/></div></div><divclass="row"><divclass="new_ev_left">是否推荐产品:</div><divclass="new_ev_right"style="padding-left:8px;"><selectname="recommend"><optionvalue="yes">是</option><optionvalue="no">否</option></select></div></div><divclass="row"><divclass="new_ev_left2">产品详细描述</div><divclass="new_ev_right2"style="margin-bottom:20px;"><textareaname="TextArea1"cols="20"rows="6"style="border:1px#9DCCCCsolid;width:380px;color:#690;font-weight:bold;"onblur="this.style.backgroundColor=''"onfocus="this.style.backgroundColor='#F7fbfc'"></textarea></div></div><divclass="row"><divclass="new_ev_left">提交日期:</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputt"/></div></div><divclass="row"><divclass="new_ev_left">是否上架:</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputt"/></div></div><divclass="row"><divclass="new_ev_left">提交者:</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputt"/></div></div><divclass="row"><divclass="new_ev_left">折扣率:</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputt"/></div></div><divclass="row"><divclass="new_ev_left">库存数量:</div><divclass="new_ev_right"><inputname="Text1"type="text"class="inputt"/></div></div><divclass="row"><divclass="new_ev_right"style="background:#fafafa;height:50px;padding-left:190px;padding-top:20px;"><inputname="Text2"type="image"src="images/apl.jpg"style="width:100px;height:25px;border:0px;"/></div></div></form></div></div><!--RightEnd--></td></tr></table></div><divid="copyright">&copy;2007OldkidsAllRightsReserved</div></body></html>

解决方案

解决方案二:
那个是jQuery初始化的脚本看看这个http://www.javaeye.com/topic/84683

时间: 2024-08-18 18:01:44

输出的html莫名多出一个&amp;lt;script id=__ie_init&amp;gt;的相关文章

利用js对象弹出一个层_javascript技巧

复制代码 代码如下: <!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=

c++-请问我设置的32位二进制输出,但最后为什么会多出一个0呢?

问题描述 请问我设置的32位二进制输出,但最后为什么会多出一个0呢? 解决方案 只发现最后会多输出一个空格,空格后面那个0是不是在主函数里输出的? 解决方案二: 贴一下完整代码看看! 解决方案三: 目测不在这个函数里面.可以只运行一次这个函数看看 解决方案四: #include#includeusing namespace std; int bit[32];int i;int Bit(unsigned int n){ for(i=0;i { bit[i]=n%2; n/=2; } for(i=3

linux shell脚本 两个变量中间有一个/ 一起输出时前面的变量出不来

问题描述 linux shell脚本 两个变量中间有一个/ 一起输出时前面的变量出不来 配置文件config.txt 内容为: abc=/home/test 计划在shell脚本中获取等号后面的路径,shell脚本如下; #!/bin/bash var=`grep abc /home/test/config.txt` #获取abc开头的一行 echo $var put_path=${put_line##*=} #截取等号后面路径 echo "${put_path}/1.txt" 可以获

c语言数组 字符串-n为2到50,如何顺序输出1/n的十进制表示的字符串(写出一个循环节为止)

问题描述 n为2到50,如何顺序输出1/n的十进制表示的字符串(写出一个循环节为止) 输出一个循环周期后就结束该数的输出1/7=0.142857n为2到50,如何顺序输出1/n的十进制表示的字符串(写出一个循环节为止) 解决方案 #include <iostream> using namespace std; void foo(int n) { int x = 1; int * initmod = new int[n]; cout << "1 / " <&

元素-网页上方莫名出现了一个白条,而且图片不能显示,谢谢!急!

问题描述 网页上方莫名出现了一个白条,而且图片不能显示,谢谢!急! 帮朋友调一个网站,问题如题目,我用图片加以说明 通过审查元素看到,代码里不知道怎么就插入了一个白条. 而且图片不显示,怪异的是只限搜狗浏览器,别的浏览器图片都显示,但是白条不分浏览器,都有这个白条.谢谢大家!! 忘了贴出来网址了 http://sunresortshotels.cn/index.php?optionid=971 下图是造成白条的代码 下面是审查元素里面图片的属性被设置成0了,我觉得可能是某JS出了问题 解决方案

java-hibernate程序运行现多出一个记录

问题描述 hibernate程序运行现多出一个记录 person2 和 emails 一对多. List list = session.createQuery( select p from Person2 p left join fetch p.emails e "" + "" where e.email like '%@yahoo.com.cn' "").list(); **//对应的sql语句执 行正常 ,调试看到 list取出来多出一条记录

c++-C++版单词反转 给出一个英语句子,希望你把句子里的单词顺序都翻转过来

问题描述 C++版单词反转 给出一个英语句子,希望你把句子里的单词顺序都翻转过来 题目描述 Description给出一个英语句子,希望你把句子里的单词顺序都翻转过来 输入描述 Input Description输入包括一个英语句子. 输出描述 Output Description按单词的顺序把单词倒序输出 样例输入 Sample InputI love you 样例输出 Sample Outputyou love I 数据范围及提示 Data Size & Hint简单的字符串操作 解决方案

求解决-按照例子不能正常输出,程序不知道那里出错误了,请大神们指出来,我好改正,请用c语言编写

问题描述 按照例子不能正常输出,程序不知道那里出错误了,请大神们指出来,我好改正,请用c语言编写 #include #include /**本题要求编写程序,将给定的n个整数存入数组中,将数组中的这n个数逆序存放,再按顺序输出数组中的元素. 输入格式: 输入在第一行中给出一个正整数n(1≤n≤10).第二行输入n个整数,用空格分开. 输出格式: 在一行中输出这n个整数的处理结果,相邻数字中间用一个空格分开,行末不得有多余空格. 输入样例: 4 10 8 1 2 输出样例: 2 1 8 10 **

应用-麻烦大神写出一个c++程序出来

问题描述 麻烦大神写出一个c++程序出来 几何图形的简单计算.内容是用C++设计一个业务处理系统,其业务就是进行简单的几何计算:l输入圆的半径,计算并输出圆的周长和面积:l输入圆柱的半径和高,计算并输出圆柱的表面积和体积:l输入圆锥的半径和高,计算并输出圆锥的表面积和体积:l输入圆球的半径,计算并输出圆球的表面积和体积:l输入长方形的长和宽,计算并输出长方形的周长和面积:l输入长方体的长.宽和高,计算并输出长方体的表面积和体积.要求:①必须设计圆.圆柱.圆锥.圆球.长方形.长方体等类:②必须应用