I’m trying to find a jQuery code that controls a span element in my template.
For example:
<span class="ccontent"
- That class opens a info window when hovered upon.
How can i find the jQuery code that relates to this in my template using Chrome and in what file it resides?
In Chrome, right click and select “Inspect Element” to open up your inspector. On a Mac you can use Command + Option + I
After that click Resources tab, then Command + F (again, Mac, not sure about PC). Type ccontent into the search box and you will see the number of references to that class-name. Click through until you see all the places in your code where it’s mentioned.