Hi Dirceu, I'm glad that was helpful. Yes, of course I'd be delighted to have you mention my name - and even more so if you can link it to my blog at http://mg.to/. :-) BTW, you may want to take a look at Google Code as an alternative to SourceForge. Each one has some advantages and disadvantages, but it's nice to have a couple of options. -Mike
_____ From: Dirceu Barquette Hi Mike, Fantastic!!! This is very very good!!! I'll publish this CMS at sourceforge soon, and if you agree your name will be appear in special thanks. Ok? This is the most important contribution form my project. Thank you very much! Dirceu Barquette 2008/12/24 Michael Geary I must have been getting forgetful when I posted that suggestion. As I mentioned, .toSource() is not available in all browsers, so it wouldn't be suitable for your CMS feature that you want to make available to your site's visitors. But .toString() *is* available in all browsers, and it gives you the source code for a function. So you can just use that instead. Here's a test case: http://mg.to/test/jquery-methods.html That page lists all of the jQuery and jQuery() methods in alphabetical order. The code is: jQuery(function() { dump( 'jQuery', jQuery ); dump( 'jQuery()', jQuery.prototype ); function dump( title, object ) { var list = []; for( name in object ) { var fn = object[name]; if( jQuery.isFunction(fn) ) { list.push( '<div>' + title + '.' + name + fn.toString().match(/(\([^)]*\))/)[1] + '</div>' ); } } $('#list').append( '<h3>' + title + ' methods:</h3>' + list.sort().join('') ); } }); -Mike