猿问
下载APP

js div循环绑定事件问题求解

http://img.mukewang.com/5947a3e10001c43308010228.jpg

点击+数量就加1,点击-数量就减1,然后在计算总价。根据数据库的数据会添加更多商品。

应该怎么做。

慕村1106498
浏览 5482回答 9
9回答

Cancer_L

两个click 事件   减号里面首先判断数量  不能小于0 ,等于0就清除整个DIV。  获取减号的相邻元素,往上遍历就是prev 往下 next ,获取值text(),  然后对应点击之后--,再把减过的值重新放入选择的元素里面。加号是同样的思路,希望能帮到你吧

如果不能解决你的问题丶我会惭愧

js的话用事件代理, jq的话用on方法, 都不是很难,加油。 如果还不会,尽管问。

慕少2304943

https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E5%8D%95%E5%8F%91%E5%B0%8F%E5%8F%A3%E5%BE%84%E6%8A%98%E5%8F%A0%E6%8A%A2+%E8%BF%9E%E5%8F%91%E5%B0%8F%E5%8F%A3%E5%BE%84%E3%80%906499-5331%3BQ%E3%80%91xbe https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E5%8F%91%E4%BB%A4%E5%BC%B9%E6%94%B9%E5%B0%8F%E5%8F%A3%E5%BE%84%E5%AD%90%E5%BC%B9%E3%80%906499-5331%3BQ%E3%80%91c66 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E5%93%AA%E9%87%8C%E6%9C%89%E6%89%93%E9%B8%9F%E5%B7%A5%E5%85%B7%E4%BB%80%E4%B9%88%E5%9C%B0%E6%96%B9%E4%B9%B0%E3%80%906499-5331%3BQ%E3%80%91l7t https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E7%9A%84%E4%B8%9C%E8%A5%BF%E5%9C%A8%E5%93%AA%E9%87%8C%E4%B9%B0%E3%80%906499-5331%3BQ%E3%80%91Npt https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E4%B9%B0%E4%B8%AA%E6%89%93%E9%B8%9F%E7%94%A8%E7%9A%84%E5%BC%A9%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%906499-5331%3BQ%E3%80%91hID https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E7%9A%84%E5%BC%A9%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%906499-5331%3BQ%E3%80%91TZL https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E4%B9%B0%E6%89%93%E7%8C%8E%E6%8A%A2%E3%80%906499-5331%3BQ%E3%80%91Sqz https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E4%B9%B0%E6%89%93%E7%8C%8E%E6%8A%A2%E5%BC%B9%E5%BC%93%E3%80%906499-5331%3BQ%E3%80%91Ohv https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E7%8C%8E%E6%8A%A2%E5%A4%A7%E5%85%A8%E3%80%906499-5331%3BQ%E3%80%91DAW https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E4%B9%B0%E4%B8%AA%E6%89%8B%E6%8B%89%E7%8E%A9%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91w75 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E5%85%A8%E9%87%91%E5%B1%9E%E6%89%8B%E6%8B%89%E9%B8%A1%E7%8E%A9%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91JmW https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%8B%E6%8B%89%E7%8E%A9%E5%85%B7%E9%B8%A1%E3%80%906499-5331%3BQ%E3%80%91CS4 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%8B%E6%8B%89%E4%B9%8B%E7%8E%8Bc10%E3%80%906499-5331%3BQ%E3%80%91sZY https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=c10a%E5%B0%84%E7%A8%8B%E5%A4%9A%E5%B0%91%E7%B1%B3%E3%80%906499-5331%3BQ%E3%80%91TEo https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%A0%87%E5%87%86c10a%E5%92%8C%E7%89%9B%E5%A4%B4c10a%E3%80%906499-5331%3BQ%E3%80%91Tap https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%89%9B%E5%A4%B4%E7%8E%A9%E5%85%B7%E4%B8%BA%E4%BB%80%E4%B9%88%E9%82%A3%E4%B9%88%E8%B4%B5%E3%80%906499-5331%3BQ%E3%80%91j1X https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%89%9B%E5%A4%B4301%E7%88%86%E7%93%B6%E6%B5%8B%E8%AF%95%E3%80%906499-5331%3BQ%E3%80%91W72 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%89%9B%E5%A4%B4%E7%8E%A9%E5%85%B7%E5%A8%81%E5%8A%9B%E6%8E%92%E5%90%8D%E3%80%906499-5331%3BQ%E3%80%91QlL https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%89%9B%E5%A4%B4%E7%8E%A9%E5%85%B7%E6%8A%A2702%E3%80%906499-5331%3BQ%E3%80%91Jj9 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%9A%B4%E5%8A%9B%E5%BC%B9%E7%B0%A71911%E5%B0%84%E7%A8%8B%E3%80%906499-5331%3BQ%E3%80%91sBd https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%89%9B%E5%A4%B4%E6%89%8B%E6%8B%89%E7%8E%A9%E5%85%B7%E7%BD%91%E5%9D%80%E3%80%906499-5331%3BQ%E3%80%91ClC https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%89%9B%E5%A4%B4301%E5%8F%AF%E4%BB%A5%E6%89%93%E9%92%A2%E7%8F%A0%E5%90%97%E3%80%906499-5331%3BQ%E3%80%91xvX https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%8B%E6%8B%89%E9%B8%A1%E4%B8%93%E5%8D%96%E5%BE%AE%E4%BF%A1%E3%80%906499-5331%3BQ%E3%80%91MFy https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%B7%98%E5%AE%9D%E6%89%8B%E6%8B%89%E9%B8%A1%E3%80%906499-5331%3BQ%E3%80%91wke https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%92%A2%E7%8F%A0%E9%B8%9F%E6%8A%A2+%E5%85%85%E6%B0%94%E9%92%A2%E7%8F%A0%E9%B8%9F%E6%8A%A2%E3%80%906499-5331%3BQ%E3%80%91w8r https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E5%85%85%E6%B0%94%E6%89%93%E9%92%A2%E7%8F%A0%E7%9A%84%E5%8F%91%E5%B0%84%E5%99%A8%E3%80%906499-5331%3BQ%E3%80%91Ppj https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%92%A2%E7%AE%A1%E4%B8%93%E5%8D%96%E5%81%9A%E9%92%A2%E7%8F%A0%E5%8F%91%E5%B0%84%E5%99%A8%E3%80%906499-5331%3BQ%E3%80%91dgg https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=8mm%E9%92%A2%E7%8F%A0%E8%83%BD%E4%B8%8B%E9%87%8E%E9%B8%A1%E5%90%97%E3%80%906499-5331%3BQ%E3%80%91oeR https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E7%9A%84%E9%92%A2%E7%8F%A0%E4%B9%B0%E5%A4%9A%E5%A4%A7%E7%9A%84%E3%80%906499-5331%3BQ%E3%80%91M24 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%B0%94%E6%8E%92%E6%89%93%E9%B8%9F%E7%94%A8%E5%A4%9A%E5%A4%A7%E7%9A%84%E9%92%A2%E7%8F%A0%E3%80%906499-5331%3BQ%E3%80%91Ark https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E7%94%A8%E5%A4%9A%E5%A4%A7%E7%9A%84%E9%92%A2%E7%8F%A0%E6%9C%80%E5%A5%BD%E3%80%906499-5331%3BQ%E3%80%91Lw3 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%88%B7%E5%A4%96%E6%89%93%E9%B8%9F%E7%94%A8%E5%A4%9A%E5%A4%A7%E7%9A%84%E9%92%A2%E7%8F%A0%E3%80%906499-5331%3BQ%E3%80%91X8G https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E6%96%91%E9%B8%A0%E7%94%A8%E5%A4%9A%E5%A4%A7%E9%92%A2%E7%8F%A0%E3%80%906499-5331%3BQ%E3%80%91wkr https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E7%9A%84%E6%8A%A2%E5%8F%AB%E4%BB%80%E4%B9%88%E5%90%8D%E5%AD%97%E3%80%906499-5331%3BQ%E3%80%91Rus https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%94%A8%E4%BB%80%E4%B9%88%E5%B7%A5%E5%85%B7%E6%89%93%E9%B8%9F%E6%9C%80%E5%A5%BD%E3%80%906499-5331%3BQ%E3%80%91Rp1 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E7%9A%84%E5%B7%A5%E5%85%B7%E5%90%88%E6%B3%95%E7%9A%84%E3%80%906499-5331%3BQ%E3%80%91wnz https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E6%9C%80%E4%BD%B3%E7%A5%9E%E5%99%A8+%E3%80%906499-5331%3BQ%E3%80%91vF1 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E5%8F%AF%E4%BB%A5%E6%89%93%E6%AD%BB%E9%B8%9F%E7%9A%84%E6%8A%A2%E3%80%906499-5331%3BQ%E3%80%91P7d https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E7%A5%9E%E5%99%A8%E5%9B%BE%E7%89%87%E4%BB%B7%E6%A0%BC+%E3%80%906499-5331%3BQ%E3%80%91GHH https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%BD%91%E4%B8%8A%E4%BB%80%E4%B9%88%E4%B8%9C%E8%A5%BF%E6%89%93%E9%B8%9F%E6%9C%80%E5%A5%BD%E3%80%906499-5331%3BQ%E3%80%91XaA https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E5%BC%A9%E9%85%8D%E4%BB%B6%E5%BA%97%E7%89%99%E7%AD%BE%E5%BC%A9%E5%BE%AE%E4%BF%A1%E5%8F%B7%E5%BC%A9%E5%BE%AE%E4%BF%A1%E5%8F%B7%E3%80%906499-5331%3BQ%E3%80%91FW6 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E8%83%BD%E6%89%93%E6%AD%BB%E9%B8%9F%E7%9A%84%E6%8A%A2%E3%80%906499-5331%3BQ%E3%80%91J1H https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E7%8C%8E%E7%94%A8%E4%BB%80%E4%B9%88%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91d42 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%8C%8E%E4%BA%BA%E6%89%93%E7%8C%8E%E7%9A%84%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91fq4 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E7%8C%8E%E5%B7%A5%E5%85%B7%E5%88%B6%E4%BD%9C%E6%89%93%E7%8C%8E%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91GfK https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E5%B7%A5%E5%85%B7600%E5%85%83%E3%80%906499-5331%3BQ%E3%80%91wKf https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E7%8C%8E%E8%A3%85%E5%A4%87%E5%9C%A8%E5%93%AA%E9%87%8C%E4%B9%B0%E3%80%906499-5331%3BQ%E3%80%91pB5 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E7%8C%8E%E7%A5%9E%E5%99%A8%E5%9C%A8%E5%93%AA%E9%87%8C%E4%B9%B0%E3%80%906499-5331%3BQ%E3%80%91Ap8 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%99%9A%E4%B8%8A%E6%89%93%E7%8C%8E%E7%A5%9E%E5%99%A8+%E3%80%906499-5331%3BQ%E3%80%91hOv https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E8%87%AA%E5%88%B6%E6%89%93%E7%8C%8E%E7%A5%9E%E5%99%A8%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91rVR https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%87%8E%E5%A4%96%E7%8B%A9%E7%8C%8E%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91aoN https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E7%8C%8E%E5%B7%A5%E5%85%B7%E5%88%B6%E4%BD%9C%E5%93%AA%E9%87%8C%E4%B9%B0%E3%80%906499-5331%3BQ%E3%80%91s6Y https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%8B%A9%E7%8C%8E%E9%87%8E%E7%8C%AA%E7%A5%9E%E5%99%A8%E6%89%93%E9%87%8E%E9%B8%A1%E9%87%8E%E5%85%94%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91IZ7 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%88%B7%E5%A4%96%E6%89%93%E9%B8%9F%E7%9A%84%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91dbi https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%88%B7%E5%A4%96%E6%89%93%E9%B8%9F%E5%BC%A9%EF%BC%8C%E6%89%93%E9%B8%9F%E5%BC%A9%E6%9C%89%E5%93%AA%E4%BA%9B%E3%80%906499-5331%3BQ%E3%80%91Uw0 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E7%9A%84%E6%8A%A2%EF%BC%8C%E6%89%93%E9%B8%9F%E5%B7%A5%E5%85%B7%E5%A4%A7%E5%85%A8%E3%80%906499-5331%3BQ%E3%80%91S6T https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E4%B8%93%E7%94%A8%E6%8A%A2%EF%BC%8C%E4%B9%B0%E6%89%93%E9%B8%9F%E7%9A%84%E6%8A%A2%E3%80%906499-5331%3BQ%E3%80%91Nn5 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E9%B8%9F%E6%8A%A2%E8%A6%81%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E6%8A%8A%E3%80%906499-5331%3BQ%E3%80%91jLt https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%BB%91%E5%B8%8264%E5%BC%8F%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F%E3%80%906499-5331%3BQ%E3%80%91al8 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%BB%91%E5%B8%8254%E5%BC%8F54%E5%BC%8F%E9%BB%91%E5%B8%82%E3%80%906499-5331%3BQ%E3%80%91HVf https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=we+m9a1%E6%94%B9%E7%81%AB%E7%8B%97%E3%80%906499-5331%3BQ%E3%80%91V7x https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%A6%99%E6%B8%AF%E7%9A%84%E6%89%8B%E5%8D%8E%E5%B0%94%E8%A1%97%E6%B0%94%E7%8B%97%E3%80%906499-5331%3BQ%E3%80%91YZ4 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%BB%91%E5%B8%8264%E5%BC%8F%E5%9B%BE%E7%89%87%E3%80%906499-5331%3BQ%E3%80%91yyo https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%BB%91%E5%B8%82%E4%B9%B054%E5%BC%8F%E6%89%8B%E6%8A%A2%E3%80%906499-5331%3BQ%E3%80%91X2S https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%A7%83%E5%AD%90%E6%80%8E%E4%B9%88%E6%89%93%E9%B8%9F%E3%80%906499-5331%3BQ%E3%80%91p33 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=diy%E7%A7%83%E5%AD%90%E8%A7%86%E9%A2%91%E3%80%906499-5331%3BQ%E3%80%91eH3 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%88%B7%E5%A4%96%E8%A3%85%E5%A4%87%E7%8B%A9%E7%8C%8E%E9%87%8E%E9%B8%A1%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91dK5 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%BB%88%E4%BA%8E%E6%89%BE%E5%88%B0%E9%87%8E%E5%A4%96%E7%8B%A9%E7%8C%8E%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91LV0 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%9C%80%E6%9C%89%E6%95%88%E7%9A%84%E7%8B%A9%E7%8C%8E%E5%B7%A5+%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91eKk https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%80%8E%E4%B9%88%E5%BC%80%E6%89%93%E7%8C%8E%E5%B7%A5%E5%85%B7%E5%87%BA%E5%94%AE%E3%80%906499-5331%3BQ%E3%80%91bdU https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E6%89%93%E7%8C%8E%E5%99%A8%E6%9D%90%E6%89%93%E7%8C%8E%E5%B7%A5%E5%85%B7%E5%87%BA%E5%94%AE%E3%80%906499-5331%3BQ%E3%80%91q79 https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E5%93%AA%E9%87%8C%E5%8F%AF%E4%BB%A5%E8%B4%AD%E4%B9%B0%E7%8B%A9%E7%8C%8E%E5%B7%A5%E5%85%B7%E3%80%906499-5331%3BQ%E3%80%91ZYC https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%A7%83%E9%B9%B0%E5%A8%81%E5%8A%9B%E6%B5%8B%E8%AF%95%E8%A7%86%E9%A2%91%E3%80%906499-5331%3BQ%E3%80%91W3f https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%A7%83%E5%AD%90%E5%A8%81%E5%8A%9B%E6%B5%8B%E8%AF%95%E8%A7%86%E9%A2%91%E3%80%906499-5331%3BQ%E3%80%91voC https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=jsb%E9%93%85%E5%BC%B9%E5%8F%82%E6%95%B0%E3%80%906499-5331%3BQ%E3%80%91ZLc https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E4%BB%BF%E5%BE%B7%E9%93%85%E5%BC%B9%E5%92%8Cjsb%E7%9A%84%E5%8C%BA%E5%88%AB%E3%80%906499-5331%3BQ%E3%80%91diF https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%93%85%E5%BC%B9jsb%E6%98%AF%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D%E3%80%906499-5331%3BQ%E3%80%91GfP https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=5+5%E8%98%91%E8%8F%87%E5%A4%B4%E9%93%85%E5%BC%B9%E6%A8%A1%E5%85%B7%E5%B0%BA%E5%AF%B8%28%E3%80%906499-5331%3BQ%E3%80%91G4j https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E9%93%85%E5%BC%B9%E4%B8%80%E5%85%B1%E5%87%A0%E4%B8%AA%E5%9E%8B%E5%8F%B7%E3%80%906499-5331%3BQ%E3%80%91AWf https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%A7%83%E9%B9%B0%E5%BC%B9%E3%80%906499-5331%3BQ%E3%80%91krd https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%A7%83%E9%B9%B0%E7%9A%84%E8%BF%87%E6%A1%A5%E5%A4%9A%E9%87%8D%E6%9C%80%E5%A5%BD%E3%80%906499-5331%3BQ%E3%80%91tJH https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%A7%83%E9%B9%B0%E8%83%BD%E7%94%A8%E5%88%AB%E7%9A%84%E5%AD%90%E5%BC%B9%E4%B8%8D%E3%80%906499-5331%3BQ%E3%80%91gsj https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=%E7%A7%83%E9%B9%B0%E8%83%BD%E6%9D%80%E6%AD%BB%E9%87%8E%E7%8C%AA%E5%90%97%E3%80%906499-5331%3BQ%E3%80%91l5f

慕标0481585

https://weibo.com/ttarticle/p/show?id=2309404642689839923791https://weibo.com/ttarticle/p/show?id=2309404642689839923606https://weibo.com/ttarticle/p/show?id=2309404642689839923626https://weibo.com/ttarticle/p/show?id=2309404642689839661415https://weibo.com/ttarticle/p/show?id=2309404642689839923636https://weibo.com/ttarticle/p/show?id=2309404642689839923867https://weibo.com/ttarticle/p/show?id=2309404642689839923823https://weibo.com/ttarticle/p/show?id=2309404642689839661419https://weibo.com/ttarticle/p/show?id=2309404642689839661429https://weibo.com/ttarticle/p/show?id=2309404642689865089122https://weibo.com/ttarticle/p/show?id=2309404642689865089237https://weibo.com/ttarticle/p/show?id=2309404642689869283454https://weibo.com/ttarticle/p/show?id=2309404642689869021357https://weibo.com/ttarticle/p/show?id=2309404642689869283629https://weibo.com/ttarticle/p/show?id=2309404642689873477775https://weibo.com/ttarticle/p/show?id=2309404642689873477855https://weibo.com/ttarticle/p/show?id=2309404642689873215677https://weibo.com/ttarticle/p/show?id=2309404642689877672101https://weibo.com/ttarticle/p/show?id=2309404642689886060925https://weibo.com/ttarticle/p/show?id=2309404642689889992765https://weibo.com/ttarticle/p/show?id=2309404642689889993055https://weibo.com/ttarticle/p/show?id=2309404642689894187275https://weibo.com/ttarticle/p/show?id=2309404642689894449245https://weibo.com/ttarticle/p/show?id=2309404642689894449473https://weibo.com/ttarticle/p/show?id=2309404642689898643865https://weibo.com/ttarticle/p/show?id=2309404642689902575649https://weibo.com/ttarticle/p/show?id=2309404642689898643752https://weibo.com/ttarticle/p/show?id=2309404642732139479293https://weibo.com/ttarticle/p/show?id=2309404642732139217071https://weibo.com/ttarticle/p/show?id=2309404642732139479260https://weibo.com/ttarticle/p/show?id=2309404642732139479276https://weibo.com/ttarticle/p/show?id=2309404642732139479313https://weibo.com/ttarticle/p/show?id=2309404642732139217097https://weibo.com/ttarticle/p/show?id=2309404642732139479270https://weibo.com/ttarticle/p/show?id=2309404642732139479268https://weibo.com/ttarticle/p/show?id=2309404642732139217075https://weibo.com/ttarticle/p/show?id=2309404642732160450955https://weibo.com/ttarticle/p/show?id=2309404642732139217139https://weibo.com/ttarticle/p/show?id=2309404642732164382795https://weibo.com/ttarticle/p/show?id=2309404642732164644926https://weibo.com/ttarticle/p/show?id=2309404642732160188617https://weibo.com/ttarticle/p/show?id=2309404642732168839213https://weibo.com/ttarticle/p/show?id=2309404642732168577333https://weibo.com/ttarticle/p/show?id=2309404642732168839709https://weibo.com/ttarticle/p/show?id=2309404642732168839683https://weibo.com/ttarticle/p/show?id=2309404642732173033482https://weibo.com/ttarticle/p/show?id=2309404642732181160227https://weibo.com/ttarticle/p/show?id=2309404642732185616827https://weibo.com/ttarticle/p/show?id=2309404642732189810780https://weibo.com/ttarticle/p/show?id=2309404642732189548711https://weibo.com/ttarticle/p/show?id=2309404642732189548749https://weibo.com/ttarticle/p/show?id=2309404642732189811103https://weibo.com/ttarticle/p/show?id=2309404642732189811083https://weibo.com/ttarticle/p/show?id=2309404642732189811109https://weibo.com/ttarticle/p/show?id=2309404642732194005286https://weibo.com/ttarticle/p/show?id=2309404642732193742939https://weibo.com/ttarticle/p/show?id=2309404642732202393997

慕哥3355399

https://7vojz39n.bandcamp.com/releaseshttps://bywwk7xc.bandcamp.com/releaseshttps://w299h0qn.bandcamp.com/releaseshttps://84ixousn.bandcamp.com/releaseshttps://dty1fa1t.bandcamp.com/releaseshttps://fadrmers.bandcamp.com/releaseshttps://uw729i0z.bandcamp.com/releaseshttps://wwfzt0sp.bandcamp.com/releaseshttps://2bgf2cdk.bandcamp.com/releaseshttps://l7vijolc.bandcamp.com/releaseshttps://3taewsin.bandcamp.com/releaseshttps://e5recfs5.bandcamp.com/releaseshttps://xkrs4xzp889.bandcamp.com/releaseshttps://238k75jo.bandcamp.com/releaseshttps://sfpmac7q.bandcamp.com/releaseshttps://4qapt5jj.bandcamp.com/releaseshttps://hdaif6a3.bandcamp.com/releaseshttps://kp4gmn5p.bandcamp.com/releaseshttps://xrxn24br.bandcamp.com/releaseshttps://9bs3yab8.bandcamp.com/releaseshttps://5h068g6s.bandcamp.com/releaseshttps://c8emrrrk.bandcamp.com/releaseshttps://i05gmhv1.bandcamp.com/releaseshttps://4u446pkb.bandcamp.com/releaseshttps://n6pwdjd81.bandcamp.com/releaseshttps://dhx8f4gk.bandcamp.com/releaseshttps://zeg4mgya.bandcamp.com/releaseshttps://wvwjjf2d.bandcamp.com/releaseshttps://ym7nlkun.bandcamp.com/releaseshttps://34whfqoa.bandcamp.com/releaseshttps://tu2yu5wl.bandcamp.com/releaseshttps://6w6f0whm.bandcamp.com/releaseshttps://mds9y260.bandcamp.com/releaseshttps://2gzx7w3a.bandcamp.com/releaseshttps://2hv7nh8a.bandcamp.com/releaseshttps://a91mj1ik.bandcamp.com/releaseshttps://ecit5062.bandcamp.com/releaseshttps://vzm7nzu7.bandcamp.com/releaseshttps://949tr0rf.bandcamp.com/releaseshttps://63ooobh6.bandcamp.com/releaseshttps://bzj1w8d0.bandcamp.com/releaseshttps://k4xea877.bandcamp.com/releaseshttps://frdvdt36.bandcamp.com/releaseshttps://46djak1g.bandcamp.com/releaseshttps://hhb7qkfx.bandcamp.com/releaseshttps://4r7q8onv.bandcamp.com/releaseshttps://nuvlo9tj.bandcamp.com/releaseshttps://w25d3v92.bandcamp.com/releaseshttps://x860ojhq.bandcamp.com/releaseshttps://nryr4uyg.bandcamp.com/releaseshttps://mdhtz7ea.bandcamp.com/releaseshttps://m6oibh8p.bandcamp.com/releaseshttps://7wr01k0p.bandcamp.com/releaseshttps://nxl13vdf.bandcamp.com/releaseshttps://svx8glih.bandcamp.com/releaseshttps://i7tu2ero.bandcamp.com/releaseshttps://pytlc4fd.bandcamp.com/releaseshttps://nxoc8dcn.bandcamp.com/releaseshttps://46prgmpc.bandcamp.com/releaseshttps://rhw0h7o7.bandcamp.com/releaseshttps://bf1lcged.bandcamp.com/releaseshttps://mvhsyc98.bandcamp.com/releaseshttps://n90rlrv2.bandcamp.com/releaseshttps://qe97iei5.bandcamp.com/releaseshttps://4c7m17kx.bandcamp.com/releaseshttps://f3o2y5hb.bandcamp.com/releaseshttps://kyzusad5.bandcamp.com/releaseshttps://fb0iau1d.bandcamp.com/releaseshttps://cccfvbzm.bandcamp.com/releaseshttps://du319vsq.bandcamp.com/releaseshttps://aphgo5l8.bandcamp.com/releaseshttps://qt0k8zn5.bandcamp.com/releaseshttps://b6yhe3wq.bandcamp.com/releases

qq_歲月靜好不忘初心_0

点击加/减,input中的value需要跟着加/减,然后将input中的value通过ajax传输返回单价,然后使用返回值innerHTML改变总价的innerHTML

920808xxm

首先点击数量的text文本值应该和单价关联起来,例如:price*count = xxx,然后按钮触发事件post到服务器端,php处理数据库操作

ruibin

这个东西jq应该会有对应的插件去实现。如果找不到自己做的话,就监听事件行了。
打开App,查看更多内容
随时随地看视频慕课网APP
我要回答
继续浏览精彩内容
慕课网APP
程序员的梦工厂
继续