title: Use jQuery select() to select contents of a div
body: <p>Is it possible to use or adapt jQuery's .select() to set a selection range on the entire contents of a div?</p>
  
  <p>I have a div which has a series of labels, inputs, select objects and a couple of other UI elements. I have found code on a separate StackOverflow post with some code hosted on jsFiddle: <a href="http://jsfiddle.net/KcX6A/570/" rel="noreferrer">http://jsfiddle.net/KcX6A/570/</a></p>
  
  <p>Can this be adapted to select the value of inputs also? Or how would you suggest I go about this?</p>
  
  <p>Thanks,
  Conor</p>
  
  <hr>
  
  <p>Edit: More info</p>
  
  <p>I know how to get the value of inputs using jQuery, that is easy, I also know how to select he values of independent elements using .select().</p>
  
  <p>In my div I have a series of different element types including inputs, labels, selects, etc. I need an overall selection of all elements. The jsFiddle link I added earlier shows how to set the range of a div and select the text of elements like p tags etc. What I need is to set the range of the div's contents and when I hit ctrl+c or cmd+c it copies the values of the inputs as well as the labels.</p>
  
  <p>So to summarise, using .val and .select won't work for this I don't think. I need to combine the above in some way but not sure exactly how this will be accomplished. Any ideas?</p>