If you are trying to change the header of a mobile view (data-role="header"):
Using jquery to change any html content within the header will not work.
I was able to do it by referencing the header from the view object itself:
$(view.header).find("selector").html("CUSTOM TEXT HERE");
view = the mobile view you are trying to change