jget

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-14 12:13:52

软件介绍

This plugin get the query string appended in url in a easy way, like a GET in a server side language

Example

//url: http://www.foo.com/?test=var&test2=var2
var save1 = $.jget['test'];
alert(save1);
//this will output 'var'
var save2 = $.jget['test'2];
alert(save2);
//this will output 'var2'

If you wish to loop through the query string, you can make this way

for (var test in $.jget) {
$.debug(test+ ' = ' + $.jget[test] );
}
//the method debug comes with the plugin to retrieve a message in firebug, or a alert in IE

本文地址:https://codercto.com/soft/d/23357.html

程序员修炼之道

程序员修炼之道

Andrew Hunt、David Thomas / 马维达 / 电子工业出版社 / 2005-1 / 48.00元

《程序员修炼之道》由一系列的独立的部分组成,涵盖的主题从个人责任、职业发展,直到用于使代码保持灵活、并且易于改编和复用的各种架构技术。利用许多富有娱乐性的奇闻轶事、有思想性的例子以及有趣的类比,全面阐释了软件开发的许多不同方面的最佳实践和重大陷阱。无论你是初学者,是有经验的程序员,还是软件项目经理,本书都适合你阅读。一起来看看 《程序员修炼之道》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

URL 编码/解码
URL 编码/解码

URL 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换