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? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -