$('#foo').live('click',function(){
$('#bar').removeClass('prettyprinter');
});
--
You received this message because you are subscribed to the Google Groups "js-code-prettifier" group.
To view this discussion on the web visit https://groups.google.com/d/msg/js-code-prettifier/-/UlOWFP_YgboJ.
To post to this group, send email to js-code-p...@googlegroups.com.
To unsubscribe from this group, send email to js-code-prettif...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/js-code-prettifier?hl=en.
Prettprint was written before any browser had an efficient
getElementsByClassName and still has to support browsers that don't so
the default entry point looks for <pre>, <code>, and <xmp> elements
only. <div class="prettyprint"> will not be found by prettyPrint().