<div class="codetitle"> <span><a style="CURSOR: pointer" data="54108" class="copybut" id="copybut54108" onclick="doCopy('code54108')"><u>複製程式碼</u></a></span>如下程式碼:</div> <div class="codebody" id="code54108"> <br>$("input[name=productNeedNum]"). (){ <br>var ProductNeedNum=document.getElementById("productNeedNum").value <br>var NumTotal = ProductNeedNum; <br>document.getElementById("NumTotal").value=NumTotal"). <br><br> </div>