动态传接id将多个空格转换成空字符串
动态传递id将多个空格转换成空字符串
function checknews(id)
{
var a = $(id).val();
if(jQuery.trim(a).length==0)
{
$(id).val('');
}
}