Tuesday, 18 April 2017

 Open PopUp Using JavaScript

 Open PopUp Using JavaScript




 function fnOpenPopUp() {
            var url = "PageAddress.aspx";
            newwindow = window.open(url, 'name', 'width=500, height=200');
            if (window.focus) { newwindow.focus() }
            function Openpopup(popurl) {
                newwindow = window.open(popurl, "", "width=500, height=200, left=45, top=15, scrollbars=no, menubar=no,resizable=no,directories=no,location=no")
            }
            return false;
        }

No comments:

Post a Comment