URL Parser

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-12 15:27:28

软件介绍

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'

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

智能优化算法及其应用

智能优化算法及其应用

王凌 / 清华大学出版社 / 2001-10 / 22.00元

智能优化算法及其应用,ISBN:9787302044994,作者:王凌著一起来看看 《智能优化算法及其应用》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具