हिस्ट्री लिस्ट में अगला URL लोड करने के लिए, JavaScript में history.forward() मेथड उपयोग करें। (नोट: मूल में history.next() लिखा था, जो गलत है; सही मेथड history.forward() है)
उदाहरण
अगला URL लोड करने के लिए निम्न कोड चलाएं:
<!DOCTYPE html> <html> <body> <script> function nextPage() { window.history.forward() } </script> <input type = "button" value = "Next URL" onclick = "nextPage()"> </body> </html>