I have a custom meta box which I would like to use to report on the markup of the current post or page (number of words, number of heading tags, etc).
How can I obtain the post content into memory in order to parse and report on its content inside the meta box?
$postvariable), or do you want it client-side and update it there too? The word counter under the editor does that by reading$('#content').val(). – Jan Fabry Oct 28 '10 at 5:48