Hi,
I had a webview working nicely on a website except this selection/click which hung the webview and the overrideUrl didn't log anything. Part of the html code as show below
The Click to this html is Working
This click NOT working
The above warning "IMPORTANT MESSAGE" can not be displayed. I don't know much about html, any help will be great.
Thanks
I had a webview working nicely on a website except this selection/click which hung the webview and the overrideUrl didn't log anything. Part of the html code as show below
The Click to this html is Working
B4X:
<script type="text/javascript">
function doSubmitToopen1()
{
var form=document.xxx1;
var a = DanaGetHref(window.location);
if(a.indexOf("https://") >= 0)
{
DanaPutAction(form,'https://www.xxx.com/http://xxx1.com:7401/xxx1/loginHandler.do',0);
}
else
{
DanaPutAction(form,'http://xx1.com:7401/xxx1/loginHandler.do',0);
}
DanaMethodSubmit("submit",form);
}
This click NOT working
B4X:
function doSubmitToopen2()
{
if(confirm("IMPORTANT MESSAGE\n\nWarning.\n\nBy clicking OK, I confirm .")) {
var form=document.xxx1;
var a = DanaGetHref(window.location);
form.open2.value = true;
if(a.indexOf("https://") >= 0)
{
DanaPutAction(form,'https://www.xxx.com/http://xxx2.com.sg:7401/xxx2/contactlessloginHandler.do?userId=0005',0);
}
else
{
DanaPutAction(form,'http://www.xxx.com:7401/xxx2/contactlessloginHandler.do?userId=0005',0);
}
DanaMethodSubmit("submit",form);
}
}
The above warning "IMPORTANT MESSAGE" can not be displayed. I don't know much about html, any help will be great.
Thanks