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
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&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
כל התגובות (1)
פתרון נבחר
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>