HTML input text select all

< script type=”text/javascript”>
function SelectAll(id)
{
document.getElementById(id).focus();
document.getElementById(id).select();
}
</script >
HTML Code
< textarea id=”txt1″ onClick=SelectAll(‘aa’);  >

Published by

abhilash

a gadget and internet addict , a red hat certified linux administrator with skills in dataware development and online technologies., follow me on twitter @abhilashsnair

One thought on “HTML input text select all”

  1. Pingback: abhilash

Comments are closed.