Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shopping cart update button


oldworldcharms

Recommended Posts

I would like to change the Update button in the shopping cart to another color so if changes are made the Update button changes to another button. I know that it can be done if this button was not an image (code below) but I need help on how to do this with an image

 

 

<script language="JavaScript">

 

var flashcolor="#ffc4c4"

 

function flashelements(){

document.cart_quantity.update.style.background=flashcolor;

}

 

</script>

 

 

Thanks

Elizabeth

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...