Is it possible to change a value of a css style after the page has finished loading?
For example I need to change a division that is display:block to display:none after the page has finished loading?
Is this possible in jQuery and if so how do I implement it?
Checkout the
ready()event, and thecss()method.Look at the list of possible selectors to see how to target your element.
Edit:
To answer your question, you can either combine the selector with the
:gt()selector, or use theslice()method (preferred).Or