hi all,
i had created a page in which users can be seen. and a edit button to edit. wen i click on the edit button a popup window will open and after edit is done and press submit button i wil get a msg that data editted. But the window is not closing. i need the window to close.
Thank u.
niths
-1
Posting Whiz in Training
Recommended Answers
Jump to PostSample:
<a href="javascript:top.close();"><img src="images/Exit.gif" style="position: absolute; right:5px; top:5px; left:310px" border="0"></img></a>
Jump to PostFrom the popup window have a button and use onclick="closefn"
within the closefn
use top.close();
or self.close();
Jump to Post<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Untitled</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="language" content="en" /> <meta name="description" content="" /> <meta name="keywords" content="" /> <script language="javascript"> …
Jump to PostYou asked how to close a window? what the above code relevant to?
All 15 Replies
rajarajan2017
niths
-1
Posting Whiz in Training
karuppasamy
-1
Newbie Poster
rajarajan2017
rajarajan2017
niths
-1
Posting Whiz in Training
rajarajan2017
niths
-1
Posting Whiz in Training
rajarajan2017
karuppasamy
-1
Newbie Poster
niths
-1
Posting Whiz in Training
karuppasamy
-1
Newbie Poster
niths
-1
Posting Whiz in Training
rajarajan2017
rajarajan2017
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.