@anespa wrote:
Friends,
I am new in InAppWeb browser. I need to redirect some form values for payment in a web page . So I created a form with hidden fields as
var pageContent ='<html><head></head><body><form id="paymentForm" action="ikmpc267/epaymentcur/onlinepaymentothers.php" method="post">'+ '<input type="hidden" name="BID" value="'+numBuildingID+'">'+ '<input type="hidden" name="LBID" value="'+lbid+'">'+ '<input type="hidden" name="ZoneID" value="'+zone+'">'+ '<input type="hidden" name="WardYear" value="'+wardyear+'">'+ '<input type="hidden" name="Category" value="'+intBuildingCategory+'">'+ '<input type="hidden" name="HashKey" value="'+hash+'">'+ '<input type="hidden" name="transactionID" value="'+trid+'">'+ '<form><script type="text/javascript">document.getElementById("paymentForm").submit();</script></body></html>'; var pageContentUrl = 'data:text/html;base64,'+btoa(pageContent); var browserRef = window.open(pageContentUrl,"_blank","hidden=no,location=no,clearsessioncache=yes,clearcache=yes");
Is this proper method ? I need to show the page in app itself not in web browser . But in my case page open in web browser . How to fix that ?
Waiting a fast response
Thanks
Anes
Posts: 1
Participants: 1