Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 1 отговор
  • 1 има този проблем
  • 2 изгледи
  • Последен отговор от 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]

Избрано решение

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>
Прочетете този отговор в контекста 👍 0

Всички отговори (1)

more options

Избрано решение

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>