.

jQuery dialog popup with AJAX content

<script type="text/javascript">
    $(function () {
        $('<div>').dialog({
            modal: true,
            open: function () {
                $(this).load('/los/handover/_details');
            },
            height: 500,
            width: 700,
            title: 'Details'
        });
    });
</script>

or this

<script type="text/javascript">

jQuery('#dialog').load('/los/handover/_details').dialog('open');

should work as well

What's your thoughts on this?

*

Protected by WP Anti Spam