![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Getting a link error only in Firefox, not Chrome and not IE
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
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&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)
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&code=" <a="" class="restIcon"><img width="50" height="50" border="0" src="../images/coupon.gif"/><label>Coupon</label> </div>