I tried to get this working, but I can only display one box.
How do I do this if I am displaying a list of products?
<button id="opener">open the dialog</button>
<div id="dialog"{{ row.sku }} title="Product Description">
This is a test
</div>
<script>
$( "#dialog"{{ row.sku }} ).dialog({ autoOpen: false
});
$( "#opener" ).click(function() {
$( "#dialog"{{ row.sku }} ).dialog( "open" );
});
</script>
The above is not working
On Wednesday, February 13, 2013 11:12:44 AM UTC-5, frocco wrote:
>
> I have a form I want to popup and am having trouble getting this to work.
> This is not in the admin page.
>
> Can someone give me an example?
>
> Thanks
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.