Alexander vdhooft
Posts: 0
Joined: Thu Nov 14, 2013 9:50 pm

Hide standard Backbutton in Header

How can I hide the 'standard' backbutton in the header with javascript?

I would like to hide the button in the case of an android device (they have already a backbutton). I can detect if the user has an andoid device, but I can not find how to hide the backbutton in that case.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Hide standard Backbutton in Header

Hello! Try this way pre$("[data-role=header]", $.mobile.activePage).find("a[data-rel=back]").hide();/pre

Alexander vdhooft
Posts: 0
Joined: Thu Nov 14, 2013 9:50 pm

Hide standard Backbutton in Header

That seems to work!
Thanks..

Return to “Issues”