Press enter to see results or esc to cancel.

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


Comments

Comments are disabled for this post