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

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

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -