JavaScript获取地址栏中的参数
1、获取地址栏中的参数
(1)若地址栏中的地址是:
http://10.124.36.56:8080/CMOD/index.jsp?name=you&password=123456&type=student
(2)获取地址栏中的最后一个参数type
2、实现的JS
function getAddressURLPar...
分类:
编程语言 时间:
2014-06-11 07:01:30
阅读次数:
288
题目
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of the node...
分类:
其他好文 时间:
2014-06-11 06:28:41
阅读次数:
364
题目
Reverse a linked list from position m to n. Do it in-place and in one-pass.
For example:
Given 1->2->3->4->5->NULL, m = 2 and n =
4,
return 1->4->3->2->5->NULL.
Note:
Given m,...
分类:
其他好文 时间:
2014-06-11 06:07:11
阅读次数:
392
软考过后又进入了紧张的B/S学习阶段,由于自己的进度比较慢,所以更要加进学习。现在就来总结下JQuery的一些基础知识:
JQuery定义
jQuery是一套跨浏览器的JavaScript库,简化HTML与JavaScript之间的操作。其宗旨是——WRITE
LESS,DO MORE,写更少的代码,做更多的事情。
JQuery特点
1、以强大的CSS...
分类:
Web程序 时间:
2014-06-11 00:39:35
阅读次数:
350
Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two...
分类:
其他好文 时间:
2014-06-11 00:35:15
阅读次数:
243
本文出自:http://blog.csdn.net/svitter
引文出自:http://hi.baidu.com/owbtkcjhtmaeuyr/item/175d53ff2ad985b231c1991e
解决apache启动错误"httpd:Could not reliably determine..."
locate httpd.conf
vim httpd...
分类:
Web程序 时间:
2014-06-10 13:53:44
阅读次数:
323
一直在使用js编写自以为是面向对象的方法,遇到一个问题,就是定义一个方法,如下:
function ListCommon2(first,second,third)
{
this.First=function ()
{
alert("first do"+first);
}
}
ListCommon2.do...
分类:
Web程序 时间:
2014-06-10 13:53:01
阅读次数:
240
You are climbing a stair case. It takesnsteps
to reach to the top.Each time you can either climb 1 or 2 steps. In how many
distinct ways can you climb...
分类:
其他好文 时间:
2014-06-10 08:41:34
阅读次数:
206
There areNchildren standing in a line. Each
child is assigned a rating value.You are giving candies to these children
subjected to the following requi...
分类:
其他好文 时间:
2014-06-10 00:35:47
阅读次数:
246