Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open window with ShowModalDialog

Status
Not open for further replies.

Annelize

Programmer
Dec 17, 2004
45
GB
Hi guys

I am opening a Login form on the onload event from my first page

Code:
function pop() 
   {
	var x
	x = showModalDialog("Login.asp","","dialogHeight: 240px; dialogWidth: 400px; edge: Raised; center: Yes; help: No; resizable: Yes; status: No;");
   }

Then on my Login page, I have a submit button that resubmits to the same page until there is a successful login or no of tries exceeded.

The problem is that the login page opens in a new window. Is there a way I can resubmit Login.asp to itself to open in the same window properties as originally with ShowModalDialog?

Thanks in advance
A
 
I'd suggest trying this over in the javascript forum, you might get a wider array of answers then you do here. I suspect this is thoroughly a client-side issue, between the javascript and the form.

-T

barcode_1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top