// * jQuery url get parameters function [取得LGETunction [取得的GETunction參數值]
// *character_set UTF-8
// * author Jerry.li(lijian@dzs.mobi)
// * version 1.2012.12.11.1400
// * // * <br>// * var GET = $.urlGet(); //取得URL的Get參數<br>// * var id = GET['id']; //取得的值<br>// *
(function($)
{
$.extend(
{/ / public
// return array()
// {
var aQuery = window.location.href.split("?");//取得Get參數
var aGET = new Array();
var aBuf = aQuery[1].split("&");
(var i=0, iLoop = aBuf.length; i {
("=");//分離key與Value
aGET [aTmp[0]] = aTmp[1];
}
},
});
})(jQuery);