¡@

Home 

2014/10/16 ¤W¤È 12:02:22

jquery Programming Glossary: cartmanager

jQuery $.ajax() executed twice?

http://stackoverflow.com/questions/5544422/jquery-ajax-executed-twice

event #addToCart .bind 'click' function .ajax url ' cartManager add' data pictureId currentImageId printSize #size option.. I see two requests in Chrome dev console for this add cartManager Request URL http 127.0.0.1 8000 cartManager add pictureId 4.. for this add cartManager Request URL http 127.0.0.1 8000 cartManager add pictureId 4 printSize 2 paperType 1 quantity 1 Request Method..

jQuery $.ajax() executed twice?

http://stackoverflow.com/questions/5544422/jquery-ajax-executed-twice

input type button value add to cart id addToCart and a bound event #addToCart .bind 'click' function .ajax url ' cartManager add' data pictureId currentImageId printSize #size option selected .val paperType #paperType option selected .val quantity.. And everything works find apart one thing that kind of bothers I see two requests in Chrome dev console for this add cartManager Request URL http 127.0.0.1 8000 cartManager add pictureId 4 printSize 2 paperType 1 quantity 1 Request Method GET Status.. that kind of bothers I see two requests in Chrome dev console for this add cartManager Request URL http 127.0.0.1 8000 cartManager add pictureId 4 printSize 2 paperType 1 quantity 1 Request Method GET Status Code 301 MOVED PERMANENTLY add cartManager..