jQuery: making a div inside ajaxcall
<p>Ok. If you didnt spell a full name right, and only entered the lastname, and the there exist more users with that lastname, in the recipient field, the ajax call will return an error with </p>

<p>Who did you mean:<br> Mami Fox <br> Megan Fox <br> Blabla Fox</p>

<p>Now, I would like to make so you can click on them, choose who you meant to send to.</p>

<p>To do this I cannot use confirm, as confirm only have OK/CANCEL.</p>

<p>So i got told to use jQuery BlockUI Plugin, or just making a div and show().</p>

<p>But how can I prepend the error in a div(i know this), show it(i know this), and then make so you are able to click on them, and receive a alert on click ('you have chosen Mami Fox').</p>

<p>As i cannot make an prepared div with the names in(as the name are suggested from the page ajax requested, sendPM.php), and so, I would like to know how to do this.</p>

<p>--</p>

<p>Firstly i guess i would need to make json variable for each name. e.g<br></p>

<pre><code> name1 : 'Mami Fox', name2 : 'Megan Fox', name3: 'Blabla Fox'
</code></pre>

<p>So in the div you can then prepend the names in there(instead of one variable with all names including "Who did you mean"), and make them so when you click on them, it will say "You have chosen"+data.name1 (example, where data is callback function name from the ajax success)..</p>

<p>--Just a thought.</p>
