javascript - How can I check if a browser's textareas are resizable? -
i'm going attach custom resize handles if browser not make textareas resizable: how can check if case? (without resorting testing specific browsers).
after bit of playing around, seems work:
if($(textarea).css('resize') != 'both'){ // add custom resize handle }
Comments
Post a Comment