方法1:javascritp方法123456//随机数functiondiu_Randomize(b,e){if(!b&&b!=0||!e){return"?";}returnMath.floor((Math.random()*e)+b);}$(window).load=$(".ps"+diu_Ra...
分类:
编程语言 时间:
2014-06-25 22:55:03
阅读次数:
623
typeof(1): numbertypeof(NaN): numbertypeof(Number.MIN_VALUE): numbertypeof(Infinity): numbertypeof("123"): stringtypeof(true): booleantypeof(window): ...
分类:
编程语言 时间:
2014-06-25 20:57:22
阅读次数:
295
一、一个纯页面跳转问题,用到表单提交 程序中的基本方法格式,可以简单看一下: 在一个页面中,想简单放一个按钮,可以跳转到另外一个页面,这个可能有两种实现方式: A js中写一下:window.location = getBathPath() + "/fm/someAction.action" B 利...
分类:
其他好文 时间:
2014-06-24 21:43:34
阅读次数:
192
//父页面调用子页面Add函数$("iframe").contentWindow.Add()//父页面对子页面Id为Sava的Dom元素执行一次单击操作$("iframe").contents().find("#Sava").click();//子页面调用父页面Update()函数parent.Up...
分类:
Web程序 时间:
2014-06-24 21:36:54
阅读次数:
172
You have been logged on with a temporary profile on windows2008 R2After looking into this issue, I saw the following user profiles and I didn’t see my...
分类:
其他好文 时间:
2014-06-24 21:25:26
阅读次数:
201
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-06-24 18:56:54
阅读次数:
240
Activity has leaked window android.widget.ZoomButtonsController that was originally added here android.view.WindowLeaked:
引起这个错误的原因是:
发现是webview的 ZoomButton,也就是那两个放大和缩小的按钮,导致的。如果设置为让他们出现,并且可以自动隐藏,...
分类:
移动开发 时间:
2014-06-24 18:41:57
阅读次数:
275
$(function () { $(window).load(function(){ alert($('img').height()); });});
分类:
Web程序 时间:
2014-06-24 14:38:07
阅读次数:
211
首先安装rdesktop : apt-get install rdesktop.p程序安装完后,在终端命令行中输入:$ rdesktop -g 1024x768 -d 24 ip,就进入了windows的登录窗口。这里:-g 1024*768指定了打开窗口大小;-d 24设置色彩位深为24;ip是w...
1.点 “window”-> "Preferences" -> "Java" -> "Installed JRES"2.此时"Installed JRES"右边是列表窗格,列出了系统中的 JRE 环境,选择你的JRE,然后点边上的 "Edit...", 会出现一个窗口(Edit JRE)3.选中rt...
分类:
编程语言 时间:
2014-06-24 11:21:37
阅读次数:
227