To highlight the value of a textbox when the user clicks on it, simply use the built in JavaScript function "select()"

Example:

<input onclick="this.select();" type="text" name="title" value="Title...">