JavaScript
Article
By Sam Deering

Use jQuery to Add SyntaxHighlighter Help Text

By Sam Deering

Hi guys, someone asked me how to copy code from my jQuery blog and I saw it wasn’t obvious that you could double click to select, edit & copy the code. So, I wrote a little bit of jQuery to solve this. Now after a few seconds red text appears on all code boxes saying just that.

To try out just refresh any page on the blog that has code on it!

Also see: How to show jQuery Source Code on Your Blog.

Recommended
Sponsors
Get the latest in JavaScript, once a week, for free.