保存网页. htmluses ActiveX;procedure TForm1.Button1Click(Sender: TObject);varpersist :IPersistfile;beginpersist := (webbrowser1.document as ipersistfile);...
分类:
Web程序 时间:
2014-07-29 21:37:42
阅读次数:
319
有些功能需要我们利用Ajax技术进行POST提交表单,这时候就需要用到jquery.Form ,它有两种方式进行提交,AjaxForm和AjaxSubmit方式。 AjaxForm 方式必须先绑定表单,它一般在$(document).ready(function(){}里定义,它能让表单不刷新页面的...
分类:
Web程序 时间:
2014-07-29 17:37:12
阅读次数:
325
// JavaScript Document/*** js分页类* @param iAbsolute 每页显示记录数* @param sTableId 分页表格属性ID值,为String* @param sTBodyId 分页表格TBODY的属性ID值,为String,此项为要分页的主体内容* @V...
分类:
Web程序 时间:
2014-07-29 16:42:22
阅读次数:
265
很多Android开发者在参考Android官方API时,都有一个令人头疼的问题:打开一个index.html平均都需要几分钟甚至更长,尤其是在打开API 8以上的版本的时候。难道是网速不够好?但笔者使用的是网通8M的宽带,所以基本上可以排除网速的问题。难道是浏览器的问题?笔者尝试分别使用IE11、谷歌浏览器、火狐浏览器、遨游等主流的浏览器来测试打开速度,发现都是一样慢的像蜗牛!...
分类:
移动开发 时间:
2014-07-29 14:34:38
阅读次数:
240
javascript和CSS在不同浏览器下的兼容性问题的几点总结:Javascript部分1、 document.form.item 问题问题:代码中存在 document.formName.item("itemName") 这样的语句,不能在FF下运行解决方法:改用 document.formNa...
分类:
Web程序 时间:
2014-07-29 14:07:49
阅读次数:
353
$(document).ready(function(){ alert(200);});jQuery(function($){ alert(100);});$(function(){ alert(300);});
分类:
其他好文 时间:
2014-07-29 13:58:48
阅读次数:
206
Lucene做站内搜索的时候经常会遇到实时搜索的应用场景,比如用户搜索的功能。实现实时搜索,最普通的做法是,添加新的document之后,调用 IndexWriter 的 Commit 方法把内存中的索引提交到硬盘;然后重新打开IndexReader,进行搜索。但是索引一般存储在硬盘上,而且当索引文...
分类:
Web程序 时间:
2014-07-29 13:41:38
阅读次数:
255
$( document ).ready( function(e){ var $catCont = $( ".cat-cont" ); //二级菜单div var $catList = $( ".J_Cat" ); //一级菜单li $catList.on( "mouseenter", functio...
分类:
Web程序 时间:
2014-07-29 13:36:48
阅读次数:
255
window.location=pp+"?username="+getCookie("username")+"&userid="+getCookie("userid");
替换
document.write("");
document.write("");
document.write("");
document.write("");
document.formx1.submit();...
分类:
编程语言 时间:
2014-07-29 13:08:36
阅读次数:
245
http://www.cs.princeton.edu/~blei/topicmodeling.htmlTopic models are a suite of algorithms that uncover the hidden thematic structure in document coll...
分类:
其他好文 时间:
2014-07-29 12:04:26
阅读次数:
455