码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
ajax向后台传值
function save_person(){ //保存个人信息编辑 var data = getFormJson(".row"); //获取表单数据 $.post(clerk_url + "&extend_op=editdz",data,function(d...
分类:Web程序   时间:2015-12-23 21:13:29    阅读次数:171
Enter键提交表单
input type="submit"在360浏览器上不能提交 用了这个$(".input").keydown(function(e){ //class为input的最后一个 var e = e || event, //event是兼容IE浏...
分类:其他好文   时间:2015-12-23 21:11:32    阅读次数:201
鼠标悬浮一定时间后显示信息
$(".gridMore").on({"mouseenter":function(){ showMoreInfo(this); },"mouseleave":function(){ hideMoreInfo(this) } ...
分类:其他好文   时间:2015-12-23 19:51:48    阅读次数:117
jquery解决各浏览器placeholder兼容
$(function(){if(!placeholderSupport()){//判断浏览器是否支持placeholder$('[placeholder]').focus(function(){varinput=$(this);if(input.val()==input.attr('placehol...
分类:Web程序   时间:2015-12-23 17:43:52    阅读次数:136
手机端自适应处理
//csshtml{font-size:10px;}元素{font-size:1.2rem;}//js(function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in ...
分类:移动开发   时间:2015-12-23 16:16:28    阅读次数:162
Java [Leetcode 100]Same Tree
题目描述:Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identic...
分类:编程语言   时间:2015-12-23 16:09:44    阅读次数:292
Easyui-combobox-checkbox-带复选框的下拉框
$.post("getSubInsuranceTypeList.do",{parent_id:node.id},function(result){ if (result.length == 0){ $("#sub-insurance").addClass("none"); ...
分类:其他好文   时间:2015-12-23 16:07:01    阅读次数:625
$(document).ready(function()
$(document).ready(function()页面加载完成后开始运行do stuff when DOM is ready 中的语句! $(document).ready(function() { // do stuff when DOM is ready }); 选择器 $(“...
分类:其他好文   时间:2015-12-23 15:56:59    阅读次数:203
自定义 NSLog以便发版和调试
问题开发中用了大量的NSLog,但是发布时想取消这些NSLog开发中是否经常用过NSLog(@"%s", __FUNCTION__);解决问题新建ExtendNSLog类,继承自NSObject在ExtendNSLog.h中删除默认代码添加以下函数声明:void ExtendNSLog(const ...
分类:其他好文   时间:2015-12-23 15:56:13    阅读次数:158
存储过程与函数的相同点和不同点
不同点:1、标识符不同。函数的标识符为FUNCTION,过程为:PROCEDURE。2、函数中有返回值,且必须返回,而过程可以没有返回值。3、过程无返回值类型,不能将结果直接赋值给变量;函数有返回值类型,调用时,除在select中,必须将返回值赋给变量。4、函数可以在select语句中直接使用实现对...
分类:其他好文   时间:2015-12-23 15:53:47    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!