具体的输入信息是这样的。uboot> httpLink down: eth0Ethernet mode (duplex/speed): 1/1000 MbpsHTTP server is starting at IP: 192.168.0.250HTTP server is ready!Reques...
分类:
其他好文 时间:
2014-09-04 18:31:59
阅读次数:
266
$(document).ready(function() { $("a.topLink").click(function() { $("html, body").animate({ scrollTop: $($(this).attr("href")).off...
分类:
Web程序 时间:
2014-09-04 14:40:29
阅读次数:
160
0.加载完页面,解析完所有标签(不包括执行CSS和JS),并如规范中所说的设置 interactive 和执行每个静态的script标签中的JS,然后触发。1.没有js,有css,有img,DOMContentLoaded事件不直接等待CSS文件、图片的加载完成2.有js,没有css,有img,DO...
分类:
其他好文 时间:
2014-09-03 21:04:27
阅读次数:
173
页面引入: ? <script src="${ctx}/static/jquery/jquery-1.10.2.min.js"></script> ??? <script src="${ctx}/static/jquery/jquery.browser.js"></script 页面1:一般都在登入页面。 $(document).ready(func...
分类:
其他好文 时间:
2014-09-03 18:30:58
阅读次数:
180
最近项目中要使用到富文本编辑器,选用了功能强大的UEditor,接下来就来讲讲UEditor编辑器的上传功能整合。本文UEditor版本:ueditor1_4_3_utf8_php版本第一步:部署编辑器HTML代码:1 JavaScript代码: 1 $(document).ready(funct....
分类:
其他好文 时间:
2014-09-03 14:52:16
阅读次数:
249
1、为form添加表单验证editSeller_form是form的idun、pw是input text的id$(document).ready(function() { $("#editSeller_form").submit(function(e) { if ...
分类:
Web程序 时间:
2014-09-02 22:37:55
阅读次数:
334
/*控制隔行换色的JS*/ $().ready(function(){ $("tr").each(function(i){ this.style.backgroundColor = ['#F8F8F8', '#F2F2F2'][i % 2] });});
分类:
Web程序 时间:
2014-09-01 17:22:43
阅读次数:
240
第一课.ajax:$.ajax(url[, settings])练习代码:$(document).ready(function() { $("#tour").on("click", "button", function() { $.ajax('/photos.html', { su...
分类:
Web程序 时间:
2014-08-29 22:35:18
阅读次数:
404
Google于2009年11月发布了Go编程语言,旨在同时具备C语言的效率和Python的简便。今年3月,Go开发组正式发布了Go语言的第 一个稳定发行版:Go version 1,简称Go 1。这意味着Go语言本身和它的标准库已经稳定下来,...
分类:
其他好文 时间:
2014-08-29 16:25:58
阅读次数:
297
之前一直用window.onload方法来调用js方法来实现,今天纠结能不能换个方法实现。
很明显是可以的。
在html前台页面引用js代码如下
@Scripts.Render("~/Scripts/User/AddUser.js")
这就算引用了,看adduser.js代码如果调用后台方法
$(document).ready( f...
分类:
数据库 时间:
2014-08-29 13:09:57
阅读次数:
296