javascript - Z-index not working with jquery css -


how works:

$("#linechart").css({       position:'fixed',       top: "4%",       left: "2%",       height: "92%",       width: "96%"   }); 

and breaks javascript:

$("#linechart").css({       position:'fixed',       top: "4%",       left: "2%",       height: "92%",       width: "96%",       z-index: "5"   }); 

you have define this:

"z-index": "5" 

or uppercase if don't want define in quotes:

zindex: "5" 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -