DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Posts
    25

    Cool 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

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    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!

  3. #3
    Join Date
    May 2005
    Posts
    25

    Unhappy 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

  1. Replies: 5
    Last Post: 05-06-2006, 10:22 PM
  2. problems with javascript
    By Michael in forum ASP.NET
    Replies: 10
    Last Post: 11-08-2005, 12:19 PM
  3. URGENT: JavaScript dynamic functions
    By DaFonz in forum Web
    Replies: 2
    Last Post: 05-26-2005, 10:41 AM
  4. Help with Javascript in forms
    By Keith Sarver in forum Web
    Replies: 0
    Last Post: 12-14-2002, 02:18 PM
  5. Sample Sites.
    By Murray Foxcroft in forum Web
    Replies: 5
    Last Post: 11-02-2000, 02:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links