select all text in textarea javascript
<textarea onclick="this.focus();this.select()"></textarea>
<!-- To copy the text -->
<textarea onclick="this.focus();this.select();document.execCommand('copy')"></textarea>
select all text in textarea javascript
<textarea onclick="this.focus();this.select()"></textarea>
<!-- To copy the text -->
<textarea onclick="this.focus();this.select();document.execCommand('copy')"></textarea>
fil text are with select html textarea
My Code:
<div text-angular="text-angular" name="htmlcontent" ng-model="htmlcontent" ta-disabled='disabled'></div>
<p>
<textarea type="text" id="message" ng-model="htmlcontent" required="required" style="display: block;" name="message" required /></textarea>
</p>
</div>
HTML JSFIDDLE:
<select id="dropdown">
<option value="">None</option>
<option value="text1">text1</option>
<option value="text2">text2</option>
<option value="text3">text3</option>
<option value="text4">text4</option>
</select>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us