Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

<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>

  • Gan freagra
  • 2 leis an bhfadhb seo
  • 1 view
more options

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,