Am trying to refresh data stored in a div every 10 seconds using jQuery.
My HTML code is:
Untitled Docume
jQuery load method works in a different way. Try reading its documentation.
load
You don't have to specify destination element ID twice, remove the second one, like this:
$("#latestData").load("getLatestData.php");