Details
-
Task
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
None
-
None
-
None
-
Important
Description
I'm integrating cordova inAppBrowser Plugin in my project, but I'm getting some Issue.
how to get inAppBrowser close event on my ajax success in my 2nd html page.
Here is my 1st html page code,
<input type="button" id="pay" value="PAY"></input>
<script type="text/javascript">
$( document ).ready(function() {
$("#pay").click(function()
{ var ref = cordova.InAppBrowser.open("page2.html", "_blank", "location=yes"); });
});
<script>
Here is my 2nd html page code,
$( document ).ready(function() {
$.ajax({
url: url + "EmailVerified?Email=" + $("#email").val() + "&Amount=" + RechargeValue,
type: "POST",
dataType: 'json',
cache: true,
async: true,
success: function (data)
});
});