popup div box in jquery to edit given item?
<p>So I have a bunch of LI elements initially with span text inside of "unrated". I'm trying to figure out how I would be able to press a button, get a popup div where i can select a rating from a few radios, then have the div disappear and update the span. </p>

<p>What I'm getting hung up on, perhaps just conceptually, is passing the data around. I want it to say "please rate for <em>_</em>_" and have it display the name in the popup box, and have the resulting data get passed back. How do I get the data to display in the div? I know I could do something like this to grab the buttons parent element content</p>

<pre><code>$text = $el.parent().find("span").text();
</code></pre>

<p>but am not sure... how to take it from there. how to display the new div with the contents inside, then pass back the value on div close.</p>

<p>I know this is probably pretty trivial... just not sure how to go about or where to look (or even of any sites that do something similar to take apart).</p>
