Getting the text of a link and insert it into an input element ?

Getting the text of a link and insert it into an input element ?

Hi,

I'm new here and in my freetime I just speak german ^^ , therefore you may excuse my english.

My problem :

I want to get the text from a link  <a href="">text_I_want_to_get_from_here</a> and insert it after into an input element <input type="text" name="want_to_have_here" value=""> by using jQuery.

I found something with  $("#myid").html() to get this, but I am not sure how to use it, really tried but I am a freshman. Please help me guys.