By Sam Deering

Use jQuery to Add SyntaxHighlighter Help Text

By Sam Deering
Last chance to win! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

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.


Login or Create Account to Comment
Login Create Account
Get the most important and interesting stories in tech. Straight to your inbox, daily.