By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,605 Members | 2,129 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,605 IT Pros & Developers. It's quick & easy.

Switching between windows

100+
P: 137
Hello!

I have a website wich requirs login.
When you have the main page (say fulscreen) and click on the login button, he opens a small window and asks for your login name and password.
When it's filled in and the user presses 'login' this small window closes and the other main window should login to the right page.

Sofar i used the <input type="button" name="login" value="login" onclick="self.close()" />
And in the login form is <form method="post" action="/repair/index.php" target="_self" />

But it doesn't work that way i discovered....:(

Any suggestions?
Aug 3 '08 #1
Share this Question
Share on Google+
2 Replies


eWish
Expert 100+
P: 971
I don't believe that this is an HTML/CSS issue. It does sound like it would require some ajax to achieve what you want. I am moving this thread to the JavaSprit/DHTML forum. If my assessment is not correct a moderator can move to the proper forum.

--Kevin
Aug 4 '08 #2

acoder
Expert Mod 15k+
P: 16,027
The target should be the parent window and you should use a submit button to submit the form.
Aug 4 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.