If by "popup page" you mean "separate browser window", then it's
somewhat easier. You can have your server-side code return a complete
HTML page instead of just a fragment, and then use "window.open()" to
load that URL.


On Mon, Sep 21, 2009 at 1:29 PM, evanbu...@gmail.com
<evanbu...@gmail.com> wrote:
>
> My function loads content from an external page
> (field.details.preview.aspx) and loads it into a div named container.
> I would like to load this external content into a popup page instead.
> I'm not sure how to tackle this.  Thanks
>
>
> <script type="text/javascript">
>    $(document).ready(function()
>    {  $(".Id_Field").click(function()
>       {
>        strIdValue = $(this).val()
>            $("#container").append('<div id="fielddetails"></
> div>')
>            .load("field.details.preview.aspx?id_field="+strIdValue,
> function()
>            {
>                $("#container").slideDown("slow");
>
>            });
>            return false;
>        });
>    });
> </script>
>



-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.

Reply via email to