【发布时间】:2014-05-15 11:38:33
【问题描述】:
在我们的网站上,如果客户在我们的任何产品(例如 https://www.nutricentre.com/p-53682-advanced-brain-nutrients.aspx)上点击“立即购买”,它会在 Firefox 中添加 1 个数量,但在 Chrome 中添加 2 个数量。我查看了代码,看不出它为什么会这样做。
代码很简单
<a class="blue_btn" >
<xsl:attribute name="href">#</xsl:attribute><xsl:attribute name="id">Buy_<xsl:value-of select="VariantID"/></xsl:attribute><span>Buy Now</span></a>
有人解释了可能的原因吗?我已经尝试过开发工具并添加了一个断点,但看不出它为什么会触发两个
【问题讨论】: