www.webdeveloper.com
Results 1 to 2 of 2

Thread: Multiple action of button submit (bypass popup blockers)

  1. #1
    Join Date
    Sep 2009
    Posts
    146

    Multiple action of button submit (bypass popup blockers)

    I donít know much about the functionality on what causes some popupís to trigger a browsers blocker and some not to.

    Situation:
    I have an account information page (where users can edit their account details) one of the fields the user can edit comes at a cost. For billing I am using a 3rd party billing portal (standard form action pointing to the service & value is passed via post variable)

    - user hits submit (not on the 3rd party billing form, my fake ajax button)
    - a service is selected that cost $1 (lets say)
    - verificationÖ DB is updated (no page reload)
    - value field is updated in the 3rd party billing form to reflect the additional service
    - I then initiate the form submit on the 3rd party billing form into a popup window
    - I do not want to user to leave the site, I want the $1 billing window to pop up, they take care of it then close the window returning back to the site.

    In order to get the form to popup in a window I set the forms target to the popup window:
    Code:
    window.open("", Ďpaysysí, "width=760,height=550");
    functionality everything is working perfect, except most browsers catch the popped up window in their popup blockers.

    Anyone know how I can create a popup that isnít flagged by the browsers?

  2. #2
    Join Date
    May 2010
    Location
    Coeur d'Alene, Idaho
    Posts
    5

    Popup Problem

    Sure - use a modal window - TinyBox, ShadowBox or jQuery window function.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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



Recent Articles