摘要: scriptfunction getArgs( ) { var args = new Object( ); var query = location.search.substring(1); // Get query string var pairs = query.split("&"); // Break at ampersand for(var i = 0; i pairs.length; i++) { var pos = pairs[i].indexOf('='); // Look for "name=value" if (pos == -1) continue; // If n 阅读全文
posted @ 2010-12-21 16:02 启明星工作室 阅读(216) 评论(0) 推荐(0) 编辑