<script type="text/javascript"> function getTdValue() { var tableId = document.getElementById("tab"); var str = ""; //获取table中的某一列的值 for (var i = 1; i < tableId.rows.length; i++) { alert(tableId.rows[i].cells[3].inne
js代码 var GetParams = function(url,bool) { try { if(bool){ var index = url.indexOf('?'); url = url.match(/\?([^#]+)/)[1]; } var obj = {}, arr = url.split('&'); for (var i = 0; i < arr.length; i++) { var subArr = arr[i].split('='); obj[subArr[0]] = s