I have this very simple button that I would like to hide
<input type="button" id="logoutBtn" value="logout" data-theme="d" data-inline="true" aria-disabled="false">
I use this simple call to try to hide it, but does nothing
$('#logoutBtn').hide();
So, I tried to add this, and that will not work either.
$('#first').live('pageinit', function(e){ $('#logoutBtn').hide(); });
What am I doing wrong?
user1150087
source share