添加到购物车按钮不能在Mozilla Firefox中工作

时间:2009-12-17 13:02:03

标签: virtuemart

添加到购物车不在mozilla Firefox中工作,但它正在Internet Explorer,Netscape,crome ...我怎么能解决这个问题。 网站网址是::

http://www.botguruz.com/buy-a-bot.html?page=shop.browse&category_id=1&vmcchk=1

1 个答案:

答案 0 :(得分:0)

answered this question yesterday

摆脱return false;的{​​{1}}属性中的<form>。如果你只是在Firebug中删除它,你会看到按钮有效。

如果您不希望提交按钮起作用,则onsubmit函数应返回布尔值 - handleAddToCart( this.id ),否则为falsetruereturn false事件的硬连线意味着无论onsubmit函数发生什么,表单都不会提交。

我不知道为什么它可以在其他浏览器中使用。

就是这样:

handleAddToCart()

您需要删除<form onsubmit="handleAddToCart( this.id );return false;" class="addtocart_form" id="addtocart50_1" name="addtocart" method="post" action="http://botguruz.com/index.php">

相关问题