2016-8-30 关于jquery联动

来源:互联网 发布:java ftpclient api 编辑:程序博客网 时间:2024/06/06 03:51
function qwert(jbdw){
    $.post("/ydxs/brand/default.do?method=see",{guid:jbdw},
            function(result){
                var result=eval('('+result+')');
                var unitFu=result.brandBean.jldwmc;

                $("#fzdw option").each(function () {
                    if ($(this).text() == unitFu) {
                        $(this).attr("selected", true);
                    }
                });


            }
    );
}
0 0
原创粉丝点击