How to get a bit of text using jQuery
<p>I have the following scenario where I need to get text from a specific id area, for instance, in this case I'd like to get the name of the person. I already know the id i.e. booking_11 as I've got this from the onClick:</p>

<pre><code>&lt;li id="booking_11"&gt;Name of person &lt;span style="float: right;"&gt;&lt;a href="#" id="11" class="dialog"&gt;View&lt;/a&gt; | &lt;a class="remove" id="rmCandidate_11" href="#"&gt;Remove&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
</code></pre>
