Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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

  • Нет ответов
  • 2 имеют эту проблему
  • 1 просмотр
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,