I'm using a simple line of jquery to load a new "song meaning" when a link is clicked. This works fine on Chrome and IE, but it doesn't change in Firefox. I'm passing the song ID with the 'sid' variable so that the loadmeaning.php knows what song we're looking for.
$('#songmeaning').load('/music/ajax/loadmeaning.php', "sid="+id);
I turned on Firebug and I notice that it is actually pulling the data from loadmeaning.php successfully, it just doesn't replace the content of #songmeaning - and again, only in Firefox.
Has anyone else run into this problem, or can offer some tips?
Here's the HTML used around the songmeaning element
<div class="meaning">
<div id="refresh" onclick="refreshMeaning(<?=$songID;?>)"><img src="/images/refresh_icon.png" height="16" width="16" title="Load More Meanings"></div>
<div id="songmeaning" class="indent"><?=$songMeaning;?></div>
</div>
Thanks.