我有一个包含几个总字段的页面.它们都共享“totalAmount”类.
我需要使用jquery在所有这些字段中设置相同的值:
var amt = some value; $('.totamAmount').each // - Some instruction to set the value to amt;