Dynamic Dialog using jQuery
<p>I have an image next to each radio button on a form. The number and content of radio buttons are fetched from a database. I'm trying to create a click event on those images, which provides a quick intro about the respective option. </p>

<pre><code>$('#icon').click(function() {
    $('#dynamicid').dialog();
    return false;
});
</code></pre>

<p>I know how to create a dialog on click, but not how to create it from div whose id and content are fetched from DB using php. How can I do that?</p>

<p>P.S: I'm new to jQuery.</p>
