treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Analyzing a web page with javascript

  • Hello,

    I'm trying to understand how web pages I visit are using jquery. I've been using Firebug and Viewsource to try and figure out what scripts are being applied to specific elements on the page but I'm not seeing a clear correspondence.

    Any tips for identifying which scripts go to which elements ... using Firebug or viewsource ... or any other suggestions.

    Thanks.
  • check out the jquery plugin "dump"

    http://plugins.jquery.com/project/Dump

    to detect if jquery is being used open up firebug and try running a jquery code ie ( console.log( jQuery('*') ) ) or something like that... if no error you will get a object returned