<a href=/01.html>BUTTON</a>
I have one button and it's linked 01.html now.
I want to link another page(02.html, 03.html) in order to BUTTON. is it possible?
<a href=/01.html>BUTTON</a>
I have one button and it's linked 01.html now.
I want to link another page(02.html, 03.html) in order to BUTTON. is it possible?
Jquery solution, and working Demo
var countClick= 0;
(function () {
$('#link').click(function () {
countClick++;
if (countClick == 1) {
window.open("http://google.com", '_blank');
}
if (countClick == 2) {
window.open("http://stackoverflow.com/", '_blank');
}
if (countClick == 3) {
window.open("http://yahoo.com/", '_blank');
}
});
})();