ok i have a site which has many different templates with different htmls for each template. i want to know how can i render for each row for its section with paging dynamically with jquery?
i dont want to store html in a var, because it changes with template and i want to make it easy for designer without needing to know jquery code.
so is there a way where i can pull div code and loop it with render each time, when adding a row.
<div id='id_here'>row one</div>
<div id='id_here'>new template row, but im adding <span>created_date here</span>
so how can i pull the div and render it accordingly without needing to save div in a var?
Added
i mean i get the data from ajax and generate it on the div, but how can i know where to generate the json data on the div, if the div is keep changing on different templates.