Forums / Cotonti / Extensions / Support / Module main page blocking js?

lukgoh
#36535 2012-12-14 08:17

I can do it fine without javascript, this is simply a learning experience. The addtocart() function is both a javascript function and php function as seen in my code above. the java script just works the form. This way I only need one form to handle any item rather than needing a form per item.

Anyway the issue is the onclick directs back to index.php with the form results like this: index.php?productid=1&command=add and I dont know why.