Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HEllo friends,

How to call a popup-window from an external Login page , help me friends
thanx in advance
Posted

1 solution

By using JavaScript from a UI event, like onClick, and I do recommend to use jQuery, see the next example:
C#
/// <reference path="jquery-1.5.2-vsdoc.js" />
/// <reference path="jquery-ui-1.8.11.min.js" />
/// <reference path="jQuery.tmpl.js" />

window.onload = function () {
    $("#defineQuantity").dialog({
        autoOpen: false,
        title: resourcesTexts.defineQuantityTitle,
        height: 'auto',
        width: 580,
        modal: true,
        resizable: false,
        cache: false
    });

   };

function openDefineQuantity() {
    $("#defineQuantity").dialog("open");
}

So in your have UI event, for this example, you should invoke openDefineQuantity

And in your HTML page you should have a div that contains the HTML for your popup, into a div:
<div id="defineQuantity" style="display:none;"></div>
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900