javascript with Chrome
Posted: 2019-05-21 17:31
batch actions
javascript is perfect with Firefox but does not work with Chrome
is the guilty window.open ??
javascript is perfect with Firefox but does not work with Chrome
Code: Select all
function eseguito(table_name, ids){
var url = 'eseguito.php?table=' + table_name;
for(var i = 0; i < ids.length; i++){
url = url + '&'
+ encodeURI('ids[]') + '='
+ encodeURIComponent(ids[i]);
}
myWindow = window.open(url, "myWindow", "width=1,height=1");
myWindow.close(); // Closes the new window
location.reload(false)
}