With a little side of applesauce...

Tuesday, November 25, 2008

jQuery - dump plug-in

Ok, so I am loving jQuery even more now... Check out the dump plugin.

You load it into your header:
<CFIF Application.Environment EQ "Dev">
<script type="text/javascript" src="includes/public_templates/jquery.dump.js"></script>
</cfif>


Then, call it in the following manner:
alert( $.dump( $("[name='accept']") ) );


Way to speed up Javascript debugging!

1 comment:

Neto said...

Amazing!!!!

Thanks.