ajax - Error: $(document).ready is not a function -


i understand question has been asked multiple times on various sites , forums context has been jquery. in case, i not using jquery @ all though using cakephp 1.3 prototype , scriptoculous. trying make ajax pagination work using default js helper every time load page, error below in error console

error: $(document).ready not function 

any idea what's wrong here.

it seems (after googeling) syntax use in prototype document.observe('dom:loaded', fn);

http://www.prototypejs.org/api/document/observe


Comments

Popular posts from this blog

400 Bad Request on Apache/PHP AddHandler wrapper -

Add email recipient to all new Trac tickets -

php - Change action and image src url's with jQuery -