Hi All,
I have got a textarea and wnat to select all the contents in it during page_ load event, so that the user does not need to press control + 'A' .
regards,
ssmantha.You would need to use client-side JavaScript to do this.
DJ
Add a RegisterStartupScript(), and put this there:
document.formname.text_area_name.focus();document.formname.text_area_name.select();
Thanks Issue Solved.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment