SageFix. LetsFix!  
Current Location : Home > Web Development > JavaScript > pop up windows and forms > Post Share/Save/Bookmark    

Main Menu
SageFix - Let's Fix

Board Categories
    Web Site Designing
- Graphics
    Web Development
- .NET
- Classic ASP
- JavaScript
- PHP
    WebSite Management
- Promotion Techniques
- Search Engine Optimization
    Databases
- MySQL

Tutorials

Database Connection Strings

  Contact Us


pop up windows and forms      Jul 28, 2002, 00:58 990390
  
I'm stumped with this at the moment. I have a small pop up login window with username and password fields. Instead of a submit button I have an image (a gif with "enter"). When the user clicks on the image I want the pop up window to close and the appropriate page to open in the parent window. But so far I can only get this to work if the input type is a button and not an image. Is it the case that this won't work with input type="image"? Or is there something wrong with my code? What I have so far is
Quote:
<input type="image" border="0" src="../images/enter.gif" name="submit" onClick="window.opener.location.href='../client_area/movie.php';window.close();">
But it's not working. Any ideas on what's wrong? Thanks...

 









Subscribe to our mailing list
email


Current Location : Home > Web Development > JavaScript > pop up windows and forms > Post Share/Save/Bookmark    

Development problem? SageFix is completely free -- paid for by advertisers and donations. Click here to Contact Us If you have any query. Enjoy!
Request processed in 9.0E-5 seconds Home - Contact Us - Terms Of Service - Privacy Policy - Copyrights - Top
Advertisements do not imply our endorsement of that product or service.
Current server time now is 09-Sep-2010 10:08:26
Copyright © 2009 Sagefix Inc. All rights reserved.
Powered By SageFix