Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : Problems with focusFirst()

Problems with focusFirst() il y a 10 mois 2 semaines #96622

I wanted to use the feature that has the cursor automatically show up in the first text area. After doing a little digging. It seems like this is the purpose of the jquery focusFirst() function.

So I go to the template editor and go to the template.js file. No problem so far. I find the line that says "uncomment this to use focusFirst()". Okay, I do that.

However following the steps it doesn't seem to be working.

The link below is to a test survey that this is supposed to be working on.
app.zyched.com/zsurvey/index.php?sid=87347&lang=en

You can easily view the source files and see that the correct line in the template.js is commented.

I have also tried this with a premium template and had the same problem.

What am I doing wrong?

Thanks!
Sterling
L'administrateur a désactivé l'accès en écriture pour le public.

Problems with focusFirst() il y a 10 mois 2 semaines #96639

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 3813
  • Remerciements reçus 683
  • Karma: 328
It works for me.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
L'administrateur a désactivé l'accès en écriture pour le public.

Problems with focusFirst() il y a 10 mois 2 semaines #96642

Hmm, okay, yes, it does seem to be working now :).

Weird!
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.141 secondes
Donation Image