Version compl�te: jsB@nk » Form » "Sélectionner tous" élément de formulaire
URL: https://www.javascriptbank.com/select-all-form-element.html
Sélectionnez le texte à partir de n'importe quel forme avec le clic d'un bouton, tout comme sur la JavaScript Source. Simple!
Version compl�te: jsB@nk » Form » "Sélectionner tous" élément de formulaire
URL: https://www.javascriptbank.com/select-all-form-element.html
<script language="Javascript"><!--function selectAll(theField) {var tempval=eval("document."+theField)tempval.focus()tempval.select()}//--></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<form name="test"><a href="javascript:selectAll('test.select1')">Select All</a><br><textarea name="select1" rows=10 cols=20>This is some text. This is some text. This is some text. This is some text.</textarea></form><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->