Good Day, guys, please help me, after validation in javascript,I want the user to go to the next page. I tried
window.open ("sinfo.php");

The problem was it opens in another tab. I want the next page (sinfo.php) to be on the current window. Thanx

window.location='sinfo.php';

Thank You!, used this code and it works for me too.

window.open ("sinfo.php", "_self");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.