jqTransform Select - Ajax Update?

后端 未结 2 1553
囚心锁ツ
囚心锁ツ 2021-01-03 03:26

I\'m using the jqTransform plugin to style my form elements, which has led to a slight problem with my select boxes. It appears the select box is hidden and replaced by a c

2条回答
  •  北海茫月
    2021-01-03 03:52

    following did it for me:

    function fix_select(selector) {
        var i=$(selector).parent().find('div,ul').remove().css('zIndex');
        $(selector).unwrap().removeClass('jqTransformHidden').jqTransSelect();
        $(selector).parent().css('zIndex', i);
    }
    fix_select('select#my_updated_select_box');
    

提交回复
热议问题