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

Popular posts from this blog

monitor web browser programmatically in Android? -

ios - iPhone/iPad different view orientations in different views , and apple approval process -

Shrink a YouTube video to responsive width -