This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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

  • 1 reply
  • 1 has this problem
  • 2 views
  • Last reply by 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]

Chosen solution

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>
Read this answer in context 👍 0

All Replies (1)

more options

Chosen Solution

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>