Hello I want to change the Header text to the title of the content being displayed and change the text of the back button to the id # of the content. How can I do this with page load javascript?
Hello I want to change the Header text to the title of the content being displayed and change the text of the back button to the id # of the content. How can I do this with page load javascript?
Hi Leon,
Please use following JS code:
pre
//To change active page header text.
jQuery('[name="mobileheader"]:visible .ui-title').text("New header text");
//To change active page back button text.
jQuery('[name="mobileheader"]:visible .ui-toolbar-back-btn').text("New button text");
/pre
Regards.