13

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?

0

1 Answer 1

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

Execute your code to see which line changed the attribute.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, I did that. I set the breakpoint, refreshed the page, I saw this div in the console, and there are lots of DOM properties. But still I dont see how do I find which script added the inline css height in there?
If I do this, jquery.min.js only opening in the sources panel, but not the actual jquery written for that element. How to find the exact line of jquery snippet?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.