asp.net - Javascript window.close on mobile -


i'm developing small web app using asp.net. 1 of function in system open new window tab, i've put button close after save document seems it's working on desktop.

here's code.

<asp:button id="button2" runat="server" text="close" onclientclick="javascript: window.close();"/> 

i'm using opera mini browser in mobile (siii).

try this

<asp:button id="button2" runat="server" text="close" onclientclick="return self.close();"/> 

Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -