I need to make changes to an element with a particular class name. The element cannot be found in the code of the webpage I am working on. However, it appears on the page. When I try to make style changes using internal css, it works but I cannot accomplish what I am trying to accomplish with css alone. So, when I try to make changes to that class using jquery css, I am unable to modify the element. Any idea as to why the inline css works but the jquery css does not work?
My CSS Code (this works):
.jqZoomWindow{
border:2px solid red;
}
JQuery Code
$(".jqZoomWindow").css("border","2px solid red");
document.ready()? The DOM might not be ready.