query_string(location.search)をパースしてオブジェクトを返す拡張 作り方 jquery.parse.jsとか適当に名前を付けて保存します。 jquery pluginはjQuery.fn.extend(object)を利用するのが作法ですがjQuery.parse()みたいな呼び出し出来なくなるので強引に拡張しています。 ※jquery pluginとしては非常にお行儀の悪い書き方ですので真似しないでください。 コメントによるとこの拡張方法で問題無いみたいです if(typeof jQuery === 'function' && typeof jQuery.parse === 'undefined' ) jQuery.parse = function($_){ var i,$R = {}; $_ = arguments.length === 0 ? locati

