Changing text with jquery and jquery mobile

I have a some jquery mobile code on my page and I want to change the text within them using jquery for example I want to change the text within the header. and add content to the list.

<div data-role="page" data-add-back-btn="true" id="venues">
			<div data-role="header">
			<div data-role="content">
			<ul data-role="listview" data-filter="true" data-filter-placeholder="Search list..." id="customAlgorithm">

usually you add content to the id of the div however am not sure what the id is for both the list and the header is in the code above.

figured it out seems that i needed an id for all the elements I wanted to edit