Welcome, Guest
Username: Password: Remember me

TOPIC: JScript Code not working

JScript Code not working 1 year 2 months ago #95459

  • fenden
  • fenden's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hi there,

I don't know why, but my JScript Code is not working anymore. Neither in the template.js nor in the question settings.
Is there maybe a problem with Apache or could it be something else? I didn't update my LimeSurvey version (still got Version 2.00+ Build 130406). I am using the default template.

Thank you,
Fenden
The administrator has disabled public write access.

JScript Code not working 1 year 2 months ago #95463

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1061
  • Thank you received: 234
  • Karma: 74
1) is 'XSS-Filter' setting turned to 'off' ?
(general settings of the install > Security options)

2) If you are using curly braces remember to let a white-space because LS will parse everything inside

Wrong: $('body').css({'display':'none'})
Good: $('body').css({ 'display':'none' })
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Last Edit: 1 year 2 months ago by Ben_V.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.119 seconds
Donation Image