
<a>tag not working in Mozilla Firefox while it is working well in IE and Chrome. eg: <button id='cart_btn'><a href='cart.php'>Cart</a></button>
Hi,
I am learning PHP/PDO/OOP and trying to create website. I am using xampp as my localhost. today I found that links are not working in Mozilla Firefox. I cleared History as well but it didn't help me.
<button id='cart_btn'><a href='cart.php'>Cart</a></button>
The above code line is working well in Chrome and Internet Explorer but nothing happens in Mozilla Firefox, even a Hand icon do not show when I hover the button.
I think there is some problem in Firefox because it is working fine in other browsers.
Regards,
Hi,
I am learning PHP/PDO/OOP and trying to create website. I am using xampp as my localhost. today I found that links are not working in Mozilla Firefox. I cleared History as well but it didn't help me.
<button id='cart_btn'><a href='cart.php'>Cart</a></button>
The above code line is working well in Chrome and Internet Explorer but nothing happens in Mozilla Firefox, even a Hand icon do not show when I hover the button.
I think there is some problem in Firefox because it is working fine in other browsers.
Regards,