I'm making a reply to my own post because I "figured it out" (several
other posts are running into the same thing). Hopefully if someone
runs across this it will save a headache.
In my example, it worked in FireFox but not in I:
$(this).find('a.version').click(function(){
$('#CYMA_Version').load(this.id + '.asp');
return false;
});
The key is that you also have to use $.getScript to load ANY scripts
in your load statement:
$(this).find('a.version').click(function(){
$('#CYMA_Version').load(this.id + '.asp',
function() {
$('a.tab').click(function(){
$('#UpdateCenter_Request').load(this.id + '.asp', function()
{
$.getScript("../../js/zebra_table.js");
$.getScript("../../js/thickbox.js", function(){
alert("Script
loaded and executed.");
});
});
});
Apparently Jquery does not have to be loaded.... Don't ask me why but
it doesn't. Hope this helps anyone who searches for this later on.
On Aug 10, 3:35 pm, Pete <[EMAIL PROTECTED]> wrote:
> I'm running into a problem with a simple Ajax call within an ajax
> called page in IE. I did a forum search and it didn't really clue me
> into what's going on.
>
> In the page:
>
> http://www.cyma.com/NEWCYMA/support/updatecenter/ (Page 1)
>
> Clicking on "Version 9" loads a page with two god ugly tabs:
> "Downloads / Updates" and "Documents"
>
> Clicking on either tab loads the appropriate page.
>
> In FireFox it loads the appropriate page, in IE7 nothing happens.
>
> The page that is being loaded is:
>
> http://www.cyma.com/NEWCYMA/support/updatecenter/v9.asp (Page 2)
>
> This page does indeed work in IE7 and in FireFox.
>
> The calls are similar. Is this a known issue?
>
> -------------------------
> (Page 1 Ajax call)
>
> $(this).find('a.version').click(function(){
> $('#CYMA_Version').load(this.id + '.asp');
>
> return false;
>
> });
>
> -------------------------
> (Page 2 Ajax call)
>
> $(this).find('a.tab').click(function(){
> $('#UpdateCenter_Request').load('v9/' + this.id + '.asp');
>
> return false;
>
> });
>
> -------------------------