noob looking to refresh a nested div on focus

noob looking to refresh a nested div on focus

i'm new to ajax & jquery and would like to reload/refresh a nested div when they switch pages or tabs so people don't have to refresh the entire page.

is this easy to do?

thanks in advance!

sample:

<div id=1>
<div id=2>
reload data on focus... $data;
</div>
</div>