Update textinput.js - added 'refresh' method

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