[jQuery] Error when calling ajax content
Internet Explorer 6 returns an error after running this example:
<script language="JavaScript" src="../js/jquery-latest.js" charset="iso-8859-1" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
var showagain = function(){
$("#linkProfessional").animate({opacity: 1.0}, 500).show('slow');
}
$("#linkProfessional").click(function(){
$("#divProfessional").load("CreateGrid.cfm?type=professional&IDAccount=58447.1001294-6");
$("#linkProfessional").animate({opacity:
1.0}, 1000).hide('slow');
var interval = setInterval(showagain,10000)
});
});
</script>
<style type="text/css">
#divProfessional { color:red; font-size: 30px;}
</style>
<a id="linkProfessional" href="#">Load professional data</a>
<p id="divProfessional">
Script debugger shows me this line with error:
// Certain attributes only work when accessed via the old DOM 0 way
if ( fix[name] ) {
<span style="color: rgb(204, 0, 0); font-weight: bold;"> if ( value != undefined ) elem[fix[name]] = value;
</span>
return elem[fix[name]];
What's wrong?
Cheers
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/