js-code:var baseinfoallfeesum=$("#allFeeSum").html(); $("#baseInfoAllFeeSum").val(baseinfoallfeesum);
html-code
<span id="allFeeSum"></span>