Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有三个 DevExpress SpinEdit 字段,我想通过 jquery 设置这些字段的值。
$('#calculator_gross').click(function () { $('#Gross_I').val(parseFloat($('#Net_I').val()) + parseFloat($('#Tare_I').val())); });
它设置字段的值(参见示例)
但是当我单击字段时,它会恢复为之前的值(参见示例)
使用javascript进行测试,我已经这样做了,我希望它可以工作。
SpinEdit.SetValue(parseInt("123"));