EchoFool Posted August 24, 2009 Share Posted August 24, 2009 Hey , I keep getting this error : XML descendants internal method called on incompatible Object For my script but not sure what it means, my script is very simple, it just calls a script and loads it into a div every 1000 ms. ( Or 1 second).... This is basically it: <?php // get tableid ?> <script language="javascript"> var auto_refresh = setInterval( function () {$('#chat').load('chatlog.php?Table=<?=$TableID?>')..fadeIn("fast");}, 1000); </script> Further down on the same page i have: <div id="chat"> </div> I should add, the script works perfectly even though that error is showing, which is why im confused whats gone wrong? Link to comment https://forums.phpfreaks.com/topic/171684-solved-xml-descendants-internal-method-on-incompatible-object/ Share on other sites More sharing options...
EchoFool Posted August 24, 2009 Author Share Posted August 24, 2009 Oh ok i worked it out now ... for any one who needs to know: )..fadeIn("fast");}, 1000); < change the double .. to a single . and that seems to solve it. Link to comment https://forums.phpfreaks.com/topic/171684-solved-xml-descendants-internal-method-on-incompatible-object/#findComment-905420 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.