0
在我们的网站上,如果客户点击了我们的任何产品(例如https://www.nutricentre.com/p-53682-advanced-brain-nutrients.aspx)上的“立即购买”,它会在Firefox中添加1,而在Chrome中添加2。我查看了代码,看不出为什么会这样做。Chrome即刻触发“立即购买”按钮
的代码是相当简单的
<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>
有人棚上的原因,也许是什么光?我已经尝试了开发工具并添加了一个断点,但无法看到为什么它会触发两个
它在SQL表中添加两个,所以肯定会在某处触发两次 – Dean