EasyUI动态改变输入框width

function changeEUIBoxWidth(id, width){  
    $('#'+id).parent().find($('span:eq(0)')).css('width',width+'px');  
    $('#'+id).parent().children("span").eq(0).css('width',width+'px');  
    $.parser.parse('#'+id);  
}  
posted @ 2018-11-30 10:05  Liuxiaoke  阅读(957)  评论(0)    收藏  举报