Anki Forums
Issues with Scripting in Cards
Anki
Help
NielegalneApfelschor
August 11, 2023, 9:15am
2
Try enclosing your script in a function, like this:
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Broken JavaScriptafter updating
Card Design
2
178
February 15, 2024
Card template javascript variables carrying over to next card
Card Design
3
545
September 9, 2023
Bug: JavaScript won't run properly on 2.1.49
Development
3
1177
May 1, 2023
Conditional formatting (with JavaScript) doesn't work anymore
Help
6
632
May 1, 2023
Javascript variables' scope and eventlistener guide
Card Design
1
670
May 1, 2023