Showing posts with label jQuery. Show all posts
Showing posts with label jQuery. Show all posts

Tuesday, December 27, 2011

Object doesn't support this property or method

Verificar o elemento que chama a função.

No meu caso chamava o elemento não existia.

$('#minhaGaleria').gallery();

1. Verifique o ID com o firebug ou IE developer.
2. Verifique a função se existe e se o ficheiro .js está linkado para a página no header.



Have fun!!