[jQuery] Weirdness With load() and ajax()

[jQuery] Weirdness With load() and ajax()

<div dir="ltr">So I'm a bit new to jQuery, but this is absolutely driving me nuts.
So here is a bit of pseudo code to explain what I'm seeing:
<code>
alert($("#foo .selectedItem").attr("id"));  //alert's 'todd'
$('#something').load('mypage.html', '', cbFunction);
cbFunction = function(){
  alert($("#foo .selectedItem").attr("id")); //alerts the item that was selected before the original list #foo was last modified (another action adds children to the UL with the id foo)
}<br clear="all"></code>
Hopefully that is a good enough explanation without getting too crazy with my code.  Basically the call to $("#foo .selectedItem").attr("id") outside of the load() *is* returning the correct item, but that same call to $("#foo .selectedItem").attr("id") within the callback of my load() is not returning the correct item.
I've also tried using a call to ajax() and adding some headers to prevent caching on the Ajax call but nothing seems to work.  Any ideas?
--
Todd Sharp
<a href="mailto:todd@cfsilence.com">todd@cfsilence.com</a>
IM: <a href="mailto:cfsilence@gmail.com">cfsilence@gmail.com</a>
Blog: <a href="http://cfsilence.com/blog/client">http://cfsilence.com/blog/client</a>
Create A SlideCast!!! <a href="http://slidesix.com">http://slidesix.com</a>
Share Your Snippets! <a href="http://cfsnippets.org">http://cfsnippets.org</a>
</div>