URL Parser

程序名称:URL Parser

授权协议: 未知

操作系统: 未知

开发语言:

URL Parser 介绍

Parses URLs and provides easy access to information within them, such as the
protocol, host, port, the segments that make up the path and the various query
string values. The parser is based on the Regex URI parser by Stephen
Levithian - http://blog.stevenlevithan.com/archives/parseuri.

`// Get the domain name (host) from the current page URI
jQuery.uri.attr(“host”);

// Get the query string value for ‘item’ for the current page
jQuery.uri.param(“item”);

// Get the second segment of the URI of the current page
jQuery.uri.segment(2);

// Get the protocol of a manually passed in URL
jQuery.uri.setUri("http://allmarkedup.com/”).attr(“protocol”) // returns
‘http’`

URL Parser 官网

http://plugins.jquery.com/project/url_parser

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...