Jquery Too Much Recursion Error
Posted
by user367082
on Stack Overflow
See other posts from Stack Overflow
or by user367082
Published on 2010-06-15T09:29:11Z
Indexed on
2010/06/15
9:32 UTC
Read the original article
Hit count: 243
Hi There. I hope someone could help me.
I have this code:
<script>
$(document).ready(function() {
spectrum();
function spectrum(){
$('#bottom-menu ul li.colored a').animate( { color: '#E7294F' }, 16000);
spectrum2();
}
function spectrum2(){
$('#bottom-menu ul li.colored a').animate( { color: '#3D423C' }, 16000);
spectrum();
}
});
</script>
it's working but when I look at firebug it says that there's a Too Much Recursion error.
I hope someone can tell me why.
Thanks!
© Stack Overflow or respective owner