SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2010
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to use jQuery to create cross window alerts

    I am making a call to a php script that brings up a small window then closes itself after the user has finished doing stuff on the page i.e. <script>self.close();</script>.. what I want is to create some confirmation or alert on the current page the user is on ( i.e. after the small window closes ).. is it possible to have a modal or alert on the current window?

    I know I can do an alert inside the small window, but what I want is to have some sort of confirmation displayed on the current window..

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,713
    Mentioned
    102 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by condo123 View Post
    I know I can do an alert inside the small window, but what I want is to have some sort of confirmation displayed on the current window..
    What can commonly be done is for the small window to call a function on the large window, potentially passing information to that function in the large window too.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •