pjnovas
pjnovas

Reputation: 1126

IE6 ShowModalDialog reuses the opened window

As my current project demands: I'm developing an ASP.net 3.0 website with Internet Explorer 6.0 SP1.

My problem is when I execute a javascript window.showModalDialog() from two separated browers they uses the same opened modal, I need to open a new modal for each browser.

Why is that?, Is there a way to avoid it?

Upvotes: 2

Views: 466

Answers (1)

MusiGenesis
MusiGenesis

Reputation: 75396

You need to set the target of the showModalDialog call to "_blank" or "_new" (I forget which) - otherwise it will reuse an open browser instance.

Upvotes: 1

Related Questions