How to setup flexible box CSS through jQuery? css( display, '-moz-box') doesn't seem to work?
display: box; display: -webkit-box; display: -moz-box;
This also works:
This doesn't :-(
css( display, '-moz-box')
I am building a plugin that displays a window-like resizeable modal box with header that can have variable height and content, that fits inside the box and displays a scrollbar if it's content is too long.
You were missing the quotes around
display; when passing a property and a value to
.css(), both must be strings: