The text input plugin has the following methods:
enable
$('.myinput').textinput('enable');
disable
$('.myinput').textinput('disable');