< onclick="parent.d.ub('102|数量|.|')">
如何定义数量为下方输入的数量呢
数量:
input type="text" id="giftnum" name="giftnum" value="1" class="gift_input_t" maxlength="4" />
加入代码组合成字符串
onclick="parent.d.ub('102|'+document.getElementById('giftnum').value+'|.|')">
使用js控制不就可以了吗?
js获取input控件的数据。.text()
大哥 可以帮忙写下JS么