Beginnersquestion: How to select value between span tags

Beginnersquestion: How to select value between span tags

Hi,

Can anybody tell me how to select a value between span-tags. 

The current HTML code looks like
  1. <div id="myid">
  2. <span>somevalue</span>
  3. </div>
And jQuery looks like:

  1. $('.myid').dblclick(function() {
  2. var title = $(this).val('span');

  3. });

But that doesn't work :(

I just want the 'var title' use somewhere in the jquery function.

Thx!