-
urgent help on javascript
I have a web page, say Page1.aspx containing 2 controls - a textbox and a button.
i click the button to open another page say Page2.aspx, using window.showModalDialog containing another textbox and a button.
i type something on this textbox and click the button on Page2.aspx.
what i need is that Page2.aspx should close and whatever was typed on the it's textbox should get copied to the textbox on Page1.aspx
-
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
urgent help javascript
Hi Phil:
your code works when i open the popup using window.open, but when i open it using window.showModalDialog, i get the folowing error - 'window.opener.document is null or not an object', when i click the button on the second page
Similar Threads
-
Replies: 5
Last Post: 05-06-2006, 10:22 PM
-
By Michael in forum ASP.NET
Replies: 10
Last Post: 11-08-2005, 12:19 PM
-
Replies: 2
Last Post: 05-26-2005, 10:41 AM
-
By Keith Sarver in forum Web
Replies: 0
Last Post: 12-14-2002, 02:18 PM
-
By Murray Foxcroft in forum Web
Replies: 5
Last Post: 11-02-2000, 02:42 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks