Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find which JS added CSS style to element using Chrome

I am trying to debug some image slideset which turns out with set height on outer div. The height is too short so you see only half of the images. I want to find which JS script sets this height in this div. Is there any way to do it?

like image 706
Dima Avatar asked Dec 30 '13 14:12

Dima


Video Answer


1 Answers

  1. go to DOMElement
  2. Right click
  3. Break on
  4. Attribute modification

Execute your code to see which line changed the attribute.

like image 113
WebServer Avatar answered Oct 22 '22 08:10

WebServer