I used code listview from ^^^ but Do Not align OK... have to call : .listview('refresh');
I load data from API to appear in jQmobile 1.4.5 listview
I used code listview from ^^^ but Do Not align OK... have to call :
$('ul#listAttractions').listview('refresh');
how call this??? fails this ^^^ , well ???
- <ul id="listAttractions" data-role="listview" data-inset="true" class="ui-listview ui-listview-inset ui-corner-all ui-shadow"><li><a href="get-details.html?location_id=527731">
- <img src="https://media-cdn.tripadvisor.com/media/photo-l/0f/14/ee/36/ubersicht.jpg" alt="Kato Paphos Archaeological Park">
- <h2>Kato Paphos Archaeological Park</h2>
- </a><p><a href="get-details.html?location_id=527731">Kato Paphos, Paphos Cyprus, </a><a href="https://www.tripadvisor.com/Attraction_Review-g190384-d527731-Reviews-Kato_Paphos_Archaeological_Park-Paphos_Paphos_District.html">Go TripAdvisor</a></p>
- </li><li><a href="get-details.html?location_id=10520635">
- <img src="https://media-cdn.tripadvisor.com/media/photo-l/0e/89/c1/7f/paphos-harbour-and-port.jpg" alt="Paphos Harbour and Port">
- <h2>Paphos Harbour and Port</h2>
- </a><p><a href="get-details.html?location_id=10520635">Poseidonos Avenue, Paphos Cyprus, </a><a href="https://www.tripadvisor.com/Attraction_Review-g190384-d10520635-Reviews-Paphos_Harbour_and_Port-Paphos_Paphos_District.html">Go TripAdvisor</a></p>
- </li><li><a href="get-details.html?location_id=4782416">
- <img src="https://media-cdn.tripadvisor.com/media/photo-l/0f/6d/48/eb/beer-tasting-paddle.jpg" alt="Aphrodite's Rock Brewing Company">
- <h2>Aphrodite's Rock Brewing Company</h2>
- </a><p><a href="get-details.html?location_id=4782416">Polis Road, Paphos 8540 Cyprus, </a><a href="https://www.tripadvisor.com/Attraction_Review-g190384-d4782416-Reviews-Aphrodite_s_Rock_Brewing_Company-Paphos_Paphos_District.html">Go TripAdvisor</a></p>
- </li><li><a href="get-details.html?location_id=669507">
- <img src="https://media-cdn.tripadvisor.com/media/photo-f/11/08/d0/2a/birdseye-view.jpg" alt="Paphos Aphrodite Waterpark">
- <h2>Paphos Aphrodite Waterpark</h2>
- </a><p><a href="get-details.html?location_id=669507">off Poseidonos Avenue, Paphos 8133 Cyprus, </a><a href="https://www.tripadvisor.com/Attraction_Review-g190384-d669507-Reviews-Paphos_Aphrodite_Waterpark-Paphos_Paphos_District.html">Go TripAdvisor</a></p>
- </li><li><a href="get-details.html?location_id=286928">
- <img src="https://media-cdn.tripadvisor.com/media/photo-l/02/80/8f/21/filename-avgas08-jpg.jpg" alt="Avakas Gorge">
- <h2>Avakas Gorge</h2>
- </a><p><a href="get-details.html?location_id=286928">Paphos Cyprus, </a><a href="https://www.tripadvisor.com/Attraction_Review-g190384-d286928-Reviews-Avakas_Gorge-Paphos_Paphos_District.html">Go TripAdvisor</a></p>
- </li><li><a href="get-details.html?location_id=531773">
- <img src="https://media-cdn.tripadvisor.com/media/photo-l/15/90/d4/d8/ayios-neophytos-monastery.jpg" alt="Agios Neophytos Monastery">
- <h2>Agios Neophytos Monastery</h2>
- </a><p><a href="get-details.html?location_id=531773">Paphos Cyprus, </a><a href="https://www.tripadvisor.com/Attraction_Review-g190384-d531773-Reviews-Agios_Neophytos_Monastery-Paphos_Paphos_District.html">Go TripAdvisor</a></p>
- </li></ul>