jQuery URL参数插件 jQuery Querystring

软件介绍

这是一个用来获取URL中参数的jQuery插件。

语法:

querystring({[selector], [defaultvalue].[returndefaultifempty]})

note; [returndefaultifempty] - if true returns defaultvalue if no querystrings (in the URL) else returns defualt vaue of querystrings if no querystrings

使用方法:

获取所有参数 querystring ({selector:[{id:"*"}]})

获取某个参数 querystring({selector:[{id:"querystring name"}]})

if you want all query strings to return the same certain value when you cant find them({selector:[{id:""}]}, deafaultvalue:"hello")

if you want all query strings to return a certain indvidual value when you cant find them({selector:[{id:"", deafaultvalue:"hello"}, {id:"", deafaultvalue:"bye"}]})

the last two examples can be used togther but indvidual defaultvalues will override the global one outside the selector array.

think you can write this documentation better contact me!

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

程序算法与技巧精选

程序算法与技巧精选

郭继展 / 2008-5 / 36.00元

《信息科学与技术丛书•程序算法与技巧精选》分17章,139个例题。书中介绍的算法和技巧涉及到随机数函数理论,基础数论,新意幻方,提高程序运行速度和精度,特定数据排序,穷举、递推、递归和迭代等诸多方面。这些算法和技巧大多是作者历年从事教学、软件开发、学术研究和学习的成果总结。 《信息科学与技术丛书•程序算法与技巧精选》内容不涉及计算机专业课程的诸多概念、理论,读者只需要学过C语言,有算法、结构......一起来看看 《程序算法与技巧精选》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

随机密码生成器
随机密码生成器

多种字符组合密码