1.觸發a標籤jquery
var comment = document.getElementById('tz'); if (document.all) { // For IE comment.click(); } else if (document.createEvent) { //FOR DOM2 var ev = document.createEvent('MouseEvents'); ev.initEvent('click', false, true); comment.dispatchEvent(ev); }
2 jqueryeasy ui 改變url:
$('#tt').datagrid({url:'houseaction_findall.action?'+a,queryParams:{}});