jQuery.stayInWebApp
                                
                                 jQuery.stayInWebApp copied to clipboard
                                
                                    jQuery.stayInWebApp copied to clipboard
                            
                            
                            
                        (Bug) Link with Onclick Return Confirm
I have a link with onclick to confirm the action, with OK and CANCEL option. On any desktop browser (Chrome, Safari...) it works properly, but on iOS WebApp (using jQuery.stayInWebApp) the CANCEL button do the same function as OK.
Example Link:
<a onclick="return confirm('Really want to proceed?')" href="/reservation/cancel/1">Cancel</a>
Any idea to solve it?
What is the specific page with error?
You probably need to stop event propagation. If you used a jQuery event handler, you could call event.stopPropagation(). Otherwise, check out how to stop event propagation with inline onclick attribute.