Hi,
Im creating an java application which use the "onbeforeunload" syntax in javascript. but im having error on the ios devices because it seems that this code is not allowed in ios, that is why i used "pagehide" in jquery, can anyone help me if the syntax below is correct? Please Reply who know the alternative for onbeforeunload code..which can cover the ios device..The code im using is here
$(document).on("pagehide",function(){}
Hope someone help me on this. 🙂
Thanks!