function going(url) {
var a = $("<a href='" + url + "' target='_blank'>Apple</a>").get(0);
var e = document.createEvent('MouseEvents');
e.initEvent('click', true, true);
a.dispatchEvent(e);
console.log('event has been changed');
}
jin 2011-2014
posted on
2015-02-02 15:58Keith_
阅读(1675)
评论(0)
收藏举报