Need help with creating a link with HTML/Javascript

i am trying to figure out a direct link of a javascript button (add to cart button) on a clothing website, that will allow me to add to cart by only using the link. It seems simple to work out but i just cant figure out how. If anybody could shed some light on this, I would appreciate.

Poster :