I need to open a URL link in another tab. I have tested this code that opens in a new window.
="javascript:void(window.open('http://www.google.com'))"
But, how can I open it in another tab ..?!
你几乎明白了
="javascript:void(window.open('http://www.google.com','_blank'))"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.