jQuery语法相关 2017-08-04 本文已影响0人 江小石 $(#id).val("abc")只适用于input,对span、div这种无效,这种应该用.text("abc")或者.html("abc")。