DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Redirecting To New Page Using Javascript

  • submit to reddit
        // Redirecting to  new page using javascript

function goToNewPage(){
                return"GoTo.aspx?Data=" + Data + "", "width=1,height=1,left=5000,top=5000");

btnGoToNewPage.attributes.add("onclick","return goToNewPage())