js-url: small library for parsing out parts of URLs

This will come in handy. You pass in a full URL and quickly pick out all the parts.

websanova/jquery-url · GitHub

url() – A simple, lightweight url parser for JavaScript.¬†Also includes a jQuery version of the plugin that can be called via $.url() with all the same options. If you’re already using jQuery it may be better to use the jQuery version to avoid namespacing issues.

Enhanced by Zemanta
Both comments and pings are currently closed.

Comments are closed.

Subscribe to RSS Feed Follow me on Twitter!
var OB_langJS = 'http://widgets.outbrain.com/lang_en.js'; var OBITm = '1351717354630';var OB_raterMode = 'none';var OB_recMode = 'strip'; var OutbrainPermaLink=''; if ( typeof(OB_Script)!='undefined' )OutbrainStart(); else { var OB_Script = true; var str = unescape("%3Cscript src=\'http://widgets.outbrain.com/OutbrainRater.js\' type=\'text/javascript\'%3E%3C/script%3E"); document.write(str); } **/?>