I just ran into the $.dump jQuery plugin. It sure makes troubleshooting and figuring out jQuery a whole lot easier. Here is how you include it in your page.
- Download the plugin at here
- Include it in your HTML like so `
- Now just include
$.dump(object)somewhere and replace object with an object you want more information on
The pop-window you will get ![dump](images/Screen shot 2009-12-08 at 10.15.06 PM.png)
Did this help you out? It took me a few days to piece together all this information together, I hope this saves you some time (who knows, maybe the future me will be thankful I wrote this down). Let me know your thoughts. email@example.com