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

动手玩转Scratch2.0编程

动手玩转Scratch2.0编程

马吉德·马吉 (Majed Marji) / 电子工业出版社 / 2015-10-1 / CNY 69.00

Scratch 是可视化的编程语言,其丰富的学习环境适合所有年龄阶段的人。利用它可以制作交互式程序、富媒体项目,包括动画故事、读书报告、科学实验、游戏和模拟程序等。《动手玩转Scratch2.0编程—STEAM创新教育指南》的目标是将Scratch 作为工具,教会读者最基本的编程概念,同时揭示Scratch 在教学上的强大能力。 《动手玩转Scratch2.0编程—STEAM创新教育指南》共......一起来看看 《动手玩转Scratch2.0编程》 这本书的介绍吧!

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

在线压缩/解压 JS 代码

html转js在线工具
html转js在线工具

html转js在线工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试