I’m wondering how I can remove a certain class after a specific div is loaded on a page. Does anyone know the appropriate way to do this using jquery?
I’m using a special class for loading and would like it removed on the div once the div has loaded.
Since you are not using AJAX, simply use
removeClassand put the code in$(document).readyso that it won’t execute until the dom is loaded.