Wednesday 15 April 2015

javascript - Why am I receiving a undefined is not a function error -



javascript - Why am I receiving a undefined is not a function error -

i have next jquery animates div top , slides down:

$(document).read(function () { $("#msearch").toggle( function () { $("#msearchb").animate({ top: '35' }, 500); }, function () { $("#msearchb").animate({ top: "-35" }, 500); } ); });

everytime click on msearch link, maintain getting next error:

uncaught typeerror: undefined not function (anonymous function)

how resolve it?

you have typo. utilize ready, not read.

javascript jquery

No comments:

Post a Comment