码迷,mamicode.com
首页 >  
搜索关键字:top    ( 21129个结果
无刷新提交表单
有些时候,不能使用ajax来进行提交数据,必须用表单来提交,但是表单提交后刷新页面不可忍受,如何能进行表单无刷新提交呢。近期在工作中就遇到了这个问题,经过深思熟虑还有和RD的仔细沟通。决定用iframe来解决这个问题。form的target属性不光有_blank,_self, _top, _pare...
分类:其他好文   时间:2014-07-23 15:13:26    阅读次数:194
JavaScript
1. 变量提升: 只对var声明的变量有效。 2. 标识符:数字,下划线,unicode字母,数字不能开头。 3. switch与case的值比较使用严格相等=== 4.do{}while(); 记住加分号。 5. 标签top: 使用break top; 跳到标签 6.数据类型number,stri...
分类:编程语言   时间:2014-07-23 15:05:56    阅读次数:208
Bag Golf Equipment Is More Functional
Variety Merchandise - top directory usually found large bags attract Australia on top of the range solution for blogs and articles about the content o...
分类:其他好文   时间:2014-07-23 12:31:06    阅读次数:296
ifram 取父窗口的URL地址
var url='';     try {           url = window.top.document.referrer ;     } catch(M) {           if (window.parent) {               try {                   url = window.parent.document.refer...
分类:其他好文   时间:2014-07-23 00:12:27    阅读次数:242
jQuery实战
1、获取标签在文档中的位置var left = $('.selected').offset().left;var top = $('.selected').offset().top;2、获取选中的radio值var val = $('.selected .ut-test-choice-problem...
分类:Web程序   时间:2014-07-22 22:42:33    阅读次数:282
【leetcode刷题笔记】Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-07-22 22:40:36    阅读次数:238
(37)JS运动之“分享到”移入移出功能
基本思路:采用定时器, #div1{ width:150px; height:200px; background:green; position:absolute; top:50px; left:-150px; } #div1 span{ position:absolute; width:20px; height:60px; line-he...
分类:Web程序   时间:2014-07-22 22:39:15    阅读次数:255
(36)JS运动之使物体向右运动
基本思路:样式 #div1{ width:200px; height:200px; background:red; position:absolute;//不加绝对定位,就跑不起来 top:50px; left:0px; }  var timer=null; function startMov...
分类:Web程序   时间:2014-07-22 22:38:54    阅读次数:194
SQL语句大全
1.随机取3条记录     select top 3 * from tablename newid(). 2.随机选记录     select newid(). 3.删除重复记录 1) delete from tablename where id not in (select max(id) from tablename group by col1,col2,...)     2)...
分类:数据库   时间:2014-07-22 22:38:33    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!