changing image input to button causes update cart to stop working?
I have image inputs for the Update button on my view cart page:
<input type="image" name="HeatherCART_Update" src="heather-plants/btn-updatecart.png" onmouseover="this.src='heather-plants/btn-updatecarton.png'" onmouseout="this.src='heather-plants/btn-updatecart.png'" alt="Update Cart" />
I have changed the site to use Bootstrap and want to use a Bootstrap button, instead, for this so I changed the above to:
<button name="HeatherCART_Update" alt="Update Cart" class="btn btn-default">Update</button>
...and now the update behaviour doesn't work? Do I need to change the trigger code, currently...
<%
' WA eCart Update
if (cStr(Request.Form("HeatherCART_Update")) <> "" OR cStr(Request.Form("HeatherCART_Update.x")) <> "") then
set HeatherCART = HeatherCART_UpdateCart(HeatherCART)
Redirect_redirStr=""'_redirStr
if (Redirect_redirStr <> "") then
HeatherCART_redirStr = Redirect_redirStr
end if
HeatherCART_cartAction = "Update"
end if
%>
If so, what do I change it to?
Thank you.
NJ