我这里有一个表,自动计算总成本的基础上您输入的数量。
我的问题是每次我试图移除总成本值的数量值从之前的数量仍然在那里而不是"0"。我只想让它像这样响应:
如果数量文本框有一个值,则计算总成本和
如果用户删除数量中的值,则显示总成本"0"。
任何帮助将非常感激!谢谢你。
这是我到目前为止写的。
我这里有一个表,自动计算总成本的基础上您输入的数量。
我的问题是每次我试图移除总成本值的数量值从之前的数量仍然在那里而不是"0"。我只想让它像这样响应:
如果数量文本框有一个值,则计算总成本和
如果用户删除数量中的值,则显示总成本"0"。
任何帮助将非常感激!谢谢你。
这是我到目前为止写的。