-3

I have a page: http://concours.quebecskialliance.com/francais.html. It only works in Firefox but not in Safari or Chrome. The button, made with a jQuery .button is not created, which lead me to a JavaScript error, but even with JSLint or Chrome console developers tool I cannot find what's wrong.

Note: to work there should be a big box in the upper right part, full of images

Yi Jiang
  • 49,435
  • 16
  • 136
  • 136
menardmam
  • 9,860
  • 28
  • 85
  • 113
  • "The button, make with a jquery .button is not created". Where should it be? can you provide two screenshots, one working and one not and a better explanation? – stivlo Oct 15 '11 at 06:52
  • does this help? This is what I see in chrome dev console uncaught syntax error: unexpected string canvas-and-more-fr.js:1 – Homan Oct 15 '11 at 06:55

1 Answers1

1

This might just be my average knowledge of jQuery speaking but this with the period seems strange

var tovalidate  = $.('#friend_email_input').val();

shouldn't it be

var tovalidate  = $('#friend_email_input').val();

that's the line that IE's debugger is erroring out over..

Yi Jiang
  • 49,435
  • 16
  • 136
  • 136
Shane Neuville
  • 2,127
  • 14
  • 19