获取textbox值:
var name=$("#userName").textbox('getValue');
textbox赋值:
$("#userName").textbox('setValue',"xiaoming");