I, for some reason, can\'t change the zIndex of an element using jQuery. I\'ve searched all of this website and Google but couldn\'t find the right answer. I am trying to
zIndex is part of javaScript notation.(camelCase) but jQuery.css uses same as CSS syntax. so it is z-index.
zIndex
z-index
you forgot .css("attr","value"). use ' or " in both, attr and val. so, .css("z-index","3000");
.css("z-index","3000");