rprateek
(rprateek)
January 13, 2010, 11:23am
1
i am a beginner to rails and this is my first project.
Just tried something with jquery. It works fine in my development
machine but jquery is not executed in my production page
my site is http://www.khaire.com/galleries
where photos were supposed to be controlled by jquery
Can someone please tell me what i am doing wrong
Try loading jQuery first and your gallery library last. If you look in
your Firebug console, you'll see the gallery library saying jQuery
isn't defined.
Good luck!
Con
(Con)
January 13, 2010, 11:59am
3
i am a beginner to rails and this is my first project.
Just tried something with jquery. It works fine in my development
machine but jquery is not executed in my production page
my site is http://www.khaire.com/galleries
where photos were supposed to be controlled by jquery
Can someone please tell me what i am doing wrong
Here’s the problem with you page:
a) The jQuery library should come before any of its plugin libraries and you should have seen the errors within Firefox and/or Safari.
b) The page above consists of 26 error messages and I would recommend validating your pages using http://validator.w3.org .
Good luck,
-Conrad
rprateek
(rprateek)
January 14, 2010, 8:31am
4
Thanks for the input guys