易截截图软件、单文件、免安装、纯绿色、仅160KB

html输入框去除记忆功能

IE提供了一个自动完成功能可以记忆我们的输入内容(如登录帐号等),方便下一次快速地录入类似资料.这确实是一个非常友好的功能,
自动完成功能,只需把AUTOCOMPLETE设为off即可,如:
整个表单禁止自动完成
HTML code
<FORM method=post action="submit.asp" AUTOCOMPLETE="OFF">
禁止文本框自动完成
HTML code
<input type="text" name="creditcard" maxlength="16" AUTOCOMPLETE="OFF">
在脚本中禁止自动完成
HTML code
function init()
{
element.setAttribute("AutoComplete", "off");
}


相关文档:

vim html xml 自动补全(在closetag.vim 上作了点修改)

当输入 》时自动补全 当输入《/时自动补全
“=================================
" File: closetag.vim
" Summary: Functions and mappings to close open HTML/XML tags
" Uses: <C-_> -- close matching open tag
" Author: Steven Mueller <di ......

Html/Jsp常用的页面跳转方法

第一种:
<script language="javascript" type="text/javascript">
    window.location.href="login.jsp?backurl="+window.location.href;
</script>
第二种:
<script language="javascript">
    alert("返回");
    window.history.back ......

javascript之HTML(select option)详解

一、基础理解:
var e = document.getElementById("selectId");
e. options= new Option("文本","值") ;
//创建一个option对象,即在<select>标签中创建一个或多个<option value="值">文本</option>
//options是个数组,里面可以存放多个<option value="值">文本</option>这样的标签
1:opt ......

获取其它进程中的Web Browser中的HTML源码


HWND H1,H2,H3,H4,hw;
 H1=H2=H3=H4=hw=NULL;
 H1=::FindWindow("TForm1",NULL);
 if (H1) H2=::FindWindowEx(H1,NULL,"Shell Embedding",NULL);
 if (H2) H3=::FindWindowEx(H2,NULL,"Shell DocObject View",NULL);
 if (H3) H4=::FindWindowEx(H3,NULL,"Internet Explorer_Server",NULL) ......

Delphi 通过MSHTML实现一个HTML解析类

最近经常会模拟网页提交返回网页源码,然后获得网页中相应的元素,于是需要常常解析Html中相应的各种元素,网络是个好东西,搜索一番,就找到了
好几个Delphi版本的HtmlParser的类库,试着使用了几个,发现解析起来都不完整,或多或少的回出现一些问题!于是想到了如果界面上有一个浏
览器,我们可以通过WebBrowser的Docu ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号