This does not work quite yet. Anything look wrong?

- #button-sales is a button on the page
- in firebug, I can see all the loaded data (a small chunk of HTML)
in the http-request pane, but it's only in memory - doesn't show up
anywhere.

How do I get the data into the #modalContentInstSales div?

This code launches the modal window where I can firebug down to
#modalContentInstSales, but no content shows up inside it.

$("#button-sales").click(function(e) {

                e.preventDefault();

                $.get("includes/institutional-sales.html", function(data){

                // create a modal dialog with the data
                $('#modalContentInstSales').modal({
                                onClose: modalClose,
                                onOpen: modalOpen,
                                containerCss: {
                                        height: 420,
                                        width: 342
                                }
                                }); // contains a button with simplemodal-close 
class
                });
});

Reply via email to