2010-02-24, 05:59 PM
MySelect:
This is a pretty cool MyCode that I made, that allows you to select everything inside the text area. It will copy everything inside the textarea if you are using IE, other wise it just highlights it.
Title:
Short Description:
Regular Expression:
Replacement:
How to use:
Preview:
![[Image: 9tn30o.png]](https://camo.mybb.com/e2a1fb12fe176fb1a759aaf61d133049caacc1a8/687474703a2f2f6935302e74696e797069632e636f6d2f39746e33306f2e706e67)
This is a pretty cool MyCode that I made, that allows you to select everything inside the text area. It will copy everything inside the textarea if you are using IE, other wise it just highlights it.
Title:
Select
Short Description:
Auto Highlights/Copy to clipboard text
Regular Expression:
\[select\](.*?)\[/select\]
Replacement:
<html>
<title>CodeAve.com (JavaScript: Select All)</title>
<body bgcolor="#FFFFFF">
<center>
<form name="select_all">
<textarea name="text_area" rows="10" cols="80">
$1
</textarea>
<input type="button" value="Highlight Text" onClick="javascript:this.form.text_area.focus();this.form.text_area.select();" "ClipBoard();">
</form>
</center>
</body>
</html>
How to use:
[select]YOUR TEXT HERE[/select]
Preview: