Avatar of Earl Kelly
Earl KellyFlag for United States of America

asked on 

Close a Popup Form After Submit

I have a popup form that request information from another page, once the form is updated and the submit button is pressed I would like the page to autoclose.   I was using a javascript behavior after the submit but that was closing the form too quickly and not allowing the form to update the database.   I have tried several commands including:

<input type="submit" value="Submit" name="B1" onclick="javascript:window.close();">
<input type="submit" value="Submit" name="B1" onclick="self.close();">

Any assitance is greatly appreciated
Web Development Software

Avatar of undefined
Last Comment
lambdabunker
ASKER CERTIFIED SOLUTION
Avatar of lambdabunker
lambdabunker
Flag of Australia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Web Development Software
Web Development Software

Web development software is used to create websites for both the Internet and intranets. Software can be either locally installed or operated through a cloud interface, and ranges in complexity from simple text editors to full-fledged integrated development environments (IDEs) that include graphics, video, audio, scripting and database support.

22K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo