Side navigation
#15221 closed bug (notabug)
Opened August 29, 2014 10:04PM UTC
Closed August 30, 2014 11:03PM UTC
:hidden can't set css display
Reported by: | martin | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 2.next |
Component: | css | Version: | 2.1.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$(function () {
$(':hidden').css({ 'display': 'block' });
});
Shows function itself on a page
$(function () { $(':hidden').css({ 'display': 'block' });...
It can be used .show() method, but why not to use .css? :)
And here is a demo :)
http://jsfiddle.net/16nv3cgp/