Update textinput.js

reference to issue #5708
added 'refresh' method to textinput  

test case : http://jsbin.com/onibuc/338/