Sure; that's what Javascript is best at --- manipulating the loaded DOM. The basic idea: give the link a unique id, give the textbox a unique id, then set the onclick method of the "link" to call a function that sets the textbox value to the value of the "link".