Jquery works in development but doesn't work when hosted on hostingrails.com

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

On 13 jan, 12:23, rprateek [email protected] wrote:

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 ishttp://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!

On Wed, Jan 13, 2010 at 3:23 AM, rprateek [email protected]
wrote:

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

Thanks for the input guys

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs