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 am using this simple call to try and hide it but it does not do anything
$('#logoutBtn').hide();
So then I tried adding this, which does not work either.
$('#first').live('pageinit', function(e){
$('#logoutBtn').hide();
});
What am I doing wrong?
Possible duplicate of jquery mobile cannot hide submit button