I would like to have users click a link, then it selects the HTML text in another element (not an input).
By \"select\" I mean the same way you would select
lepe - That works great for me thanks! I put your code in a plugin file, then used it in conjunction with an each statement so you can have multiple pre tags and multiple "Select all" links on one page and it picks out the correct pre to highlight: