Open confirmation modal pop up from button click inside chase paymentech Irfame - javascript

We have an Asp.net mvc website with credit card processing view. The view basically has a Chase Orbitel paymentech Iframe. We want to display confirmation modal pop up before user click the button in the Iframe to submit the payment. Our problem is that as soon as we click the submit button inside the chase Iframe , we don't know how to display the modal using jquery/JavaScript. We are still new with callbacks. Any suggestions and help is greatly appreciated.

Related

How do I get the URL of a pop-up so it opens automatically?

There is a button called "Leave a Tip" on a webpage. When the user clicks that button, a pop-up appears asking them to enter the tip they want to leave.
I want a way to bypass having to click on the button in order to get the pop-up to appear.
Is there a way a customer can click on a link that takes them to the page where the pop-up automatically displays (and they don't have to scroll down the page to find the button and click on it)?

Oracle APEX 5 - modal region not opening after page submit

OK, here's my situation. I have modal region with a chart. There are checkboxes corresponding to each line on the chart. I want the end user to be able to click a checkbox and have the corresponding line on the chart appear/disappear. Here's where I am:
User opens page two
There is a button "open chart" at the top of the page
When that is pressed, chart opens
User hits a checkbox, the page is submitted with a dynamic action
The modal region disappears
When I open the modal region back up, the line has indeed disappeared like it was supposed to.
My problem is number 5 above. I need that modal region to stay open after the dynamic action on the checkbox submits the page.
So far, I have tried another action (under the submit page on checkbox change action) that opens the modal region. But, that isn't working. Any help is greatly appreciated.
If you used the wizard to build the page then it's likely that when you submit the page the close dialog process is being triggered. In that case, to stop that from happening either delete the process or put a condition on it (request contained in value) and select the buttons you want to close it.
Found my answer. The solution was to forget about the modal region and make a modal page. Now, when I check/uncheck a box, I can call a dynamic action to resubmit the modal page without it disappearing. Thank you for your help!

Angularjs - How to open custom modal on leaving the page?

I'm in a bit of a pickle.
I have a form in the page. When user makes it dirty and tries to leave the page, a custom modal (mostly bootstrap modal) should pop up with a confirmation message as in "are you sure you want leave?"
I made a plunker which uses native browser's alert box (and also bootstrap pop modal). Alert box works - commented out. But modal is not working.
http://embed.plnkr.co/6LHacFZhZ74TxmyFY8f8/preview
Any help would be greatly appreciated.

A replacement for window.onbeforeunload in javascript or jquery

Currently the functionality in my asp.net project is as follows:
A user controls is opened in showmodaldialog. The user does some functionality. But as the showmodaldialog is an window, it has close(x) button. Upon clicking of this close(x) button I have written window.onbeforeunload function which displays a message to user as a warning. And asks him to click on either on OK or Cancel buttons which are default in confirmation box that is shown in window.onbeforeunload.
But now I want to replace this functionality with something better. I want to display my own custom dialog with custom buttons with their own custom functionality.
Basically I want to make sure that once user starts the functionality in the user control, he should finish it and if he clicks on close(x) button he is to be shown my new custom dialog and need to prevent him from closing showmodaldialog.
Can anyone please suggest something which I can use in my situation?
Thank you.

Modal Dialog and Form Elements

I have a form that contains some fields and a recaptcha box.
I have hidden the recaptcha box. The user clicks "create profile" and a modal dialog pops up with the recaptcha box. All fine.
But, how do I submit that information? I am using Javascript to create the recaptcha HTML in the modal. I have a button called "Create Profile" that has this code attatched to the onclick:
$("#form").submit()
The form data gets submitted to the create.php page, but the recaptcha info does not. Do I have to manually pass this information via the post request to create.php?
Without the modal dialog it works fine. I can't understand what's going on.
Any ideas?
The site is www.presslike.net
Just like ryley said. The modial dialog's HTML is not located between the tags. You have two choices
Move the modal dialog inside the form
Post the data from the form and the Modal using javascript

Categories