How can I open multiple windows at same time using javascript and php in a page? Like someone open all the links at one time.
Something like this should work, it uses javascript.
<a href="#" onClick="window.open('http://link1.com'); window.open('http://link2.com'); window.open('http://link3.com');">link text</a>
Also, a similar topic has been discussed here, might be helpful. Opening multiple links in new tabs with one click
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.