拼写多一个空格导致。



document.getElementById(winput_id).value = value;


 

http://stackoverflow.com/questions/16100543/uncaught-typeerror-cannot-set-property-value-of-null