We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Buscar en Ayuda

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

Getting a link error only in Firefox, not Chrome and not IE

  • 1 respuesta
  • 1 tiene este problema
  • 2 visitas
  • Última respuesta de cor-el

more options

I'm not the best at coding and I can't figure out why this link works in Chrome, and works in IE, but not Firefox, when you click on the coupon it gets an error. Any idea why??

http://www.myvalleydining.com/index.php?page=descriptions&id=70

I'm not the best at coding and I can't figure out why this link works in Chrome, and works in IE, but not Firefox, when you click on the coupon it gets an error. Any idea why?? [http://www.myvalleydining.com/index.php?page=descriptions&id=70 http://www.myvalleydining.com/index.php?page=descriptions&id=70]

Solución elegida

You forgot a closing ">" in that DIV:

<div class='restIcon'
<a href='public/coupon-template.php?id=70&code=' onclick='OpenPopup(this.href); return false'>
 <img src='../images/coupon.gif' width='50' height='50' border='0'/>
 <label>Coupon</label>
</a>
</div>

Firefox seems to make this of it if I inspect that element via the right-click context menu.

<div onclick="OpenPopup(this.href); return false" href="public/coupon-template.php?id=70&amp;code=" <a="" class="restIcon"><img width="50" height="50" border="0" src="../images/coupon.gif"/><label>Coupon</label>
</div>
Leer esta respuesta en su contexto 👍 0

Todas las respuestas (1)

more options

Solución elegida

You forgot a closing ">" in that DIV:

<div class='restIcon'
<a href='public/coupon-template.php?id=70&code=' onclick='OpenPopup(this.href); return false'>
 <img src='../images/coupon.gif' width='50' height='50' border='0'/>
 <label>Coupon</label>
</a>
</div>

Firefox seems to make this of it if I inspect that element via the right-click context menu.

<div onclick="OpenPopup(this.href); return false" href="public/coupon-template.php?id=70&amp;code=" <a="" class="restIcon"><img width="50" height="50" border="0" src="../images/coupon.gif"/><label>Coupon</label>
</div>