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’);  >

Tags: , , , , , , , , , , , , , , , , , , , , , ,

Trackbacks/Pingbacks

  1. abhilash - October 21, 2010

    meabi.com- HTML input text select all: < script type=”text/javascript”> function SelectAll(id) { document.getEleme… http://bit.ly/9VHXzN