Java Script pop-up

I

IntraRELY

Hello,

I am having an issue with this java code for a pop-up.

window.open('clientsCreate.aspx',null,','_blank,height=350,width=750,menubar
=no,status=no,toolbar=no')

I need the ability to open several of the same page. For example, when the
link is clicked with this code the page opens fine, however, on subsequent
pages it opens in the last new window, not a truely new one.
i.e
--
1.Page 1 Hyperlink is clicked
2.clients.Create.aspx opens in a new window
3.Page 1 Hyperlink is clicked again
4. the clientsCreate.aspx is loaded into step No. 2 window.

TIA,

Steve Wofford
www.IntraRELY.com
 
V

Vidar Petursson

S

Steve C. Orr, MCSD

You should give it a new name for each window.
In your example you're using the same window (named "_blank") each time.
 
V

Vidar Petursson

Hi

if for any reason it does not work assign it a random name

function doIt(sPageToGo){
var d = new Date();
window.open(sPageToGo,"myWin" + d.getHours() + d.getMinutes() +
d.getSeconds(),"SPECS HERE");
}

--
Best Regards
Vidar Petursson
==============================
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
==============================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

pop up map 0
Refresh GridView from pop-up 5
Calling Pop Up Window 0
Bypass Pop-up Blocker 4
Javascript and vb.net web form (pop up) 3
Avoid pop up blocker 9
pop up blockers 2
Pop up window not closing 4

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top