Developing in jQuery? Use $.dump instead of alert
Hold on Cowboy
This blog post is pretty old. Be careful with the information you find in here. The Times They Are A-Changin'
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
<script type="text/javascript" src="jquery.dump.js"></script>
- 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)