I am working on a website based on Prestashop, and there is a tag which classes are changed (from "col-md-12" to "col-md-6") when one activate a switcher.
I would like to be abble to see how and where this changed is made in the javascript code (I suppose it must be Javascript that make the change).
Thank you
Open chrome developer tools ( F12
on Windows/Linux, Command+Option+I
on Mac).
Click on the element picker at the top-left corner of the devtools panel.
With this tool selected, find (in page) and click on the element whose attribute is changed at runtime. The tag must now be highlighted in devtools panel too. Right-click the highlighted tag in devtools.
In the pop-up menu, hover over Break on and select attribute modification .
Click the switch that changes the class to col-md-6
.
Please note that this will pause the execution every time one of the attribute is modified, which includes addition/removal of an attribute or change in their values.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.