Can anyone help me by suggesting how can I code in Html to ping to a particular link for specific interval of time?😀 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can anyone help me by suggesting how can I code in Html to ping to a particular link for specific interval of time?😀

after clicking one time it continuously​ open the particular link for a number of time in a given interval !!!😇 please help me if u know

17th Mar 2017, 3:34 PM
Mrinal Kanti Ghosh
Mrinal Kanti Ghosh - avatar
6 Answers
+ 1
var url ='your link'; setInterval(window.open(url, '_blank'), 1000)
17th Mar 2017, 3:46 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
I have tried it's not working .... in JavaScript the "href" is not working under loop 😑😐... please help me
17th Mar 2017, 3:39 PM
Mrinal Kanti Ghosh
Mrinal Kanti Ghosh - avatar
0
setInterval method is not working... can you tell me how to attach java scrip in HTML?? please give the code
17th Mar 2017, 3:49 PM
Mrinal Kanti Ghosh
Mrinal Kanti Ghosh - avatar
0
it's working but only once when I open the browser or refresh it... how it can be automatic for some interval ??
17th Mar 2017, 3:52 PM
Mrinal Kanti Ghosh
Mrinal Kanti Ghosh - avatar
0
your browser is blocking this tabs
17th Mar 2017, 4:03 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
no pieskov I have allowed for the specific link to pop up.... but it's working only for first time or when I refresh it
17th Mar 2017, 4:41 PM
Mrinal Kanti Ghosh
Mrinal Kanti Ghosh - avatar