Hmm, the lockedButton still doesn’t do anything for me.
Is the order in which things are happening in my code correct? I’m confused about why the lockButton click even handler is inside onReady function.
This might be correct, but just seems weird to me… Here’s the flow I want the user to have:
I want the initial repeater (when entering the website) to have 10 random items. Then I wan’t the user to be able to randomize 10 other items. Let’s say the press the button 3 times and then find an item they want to save, then they press the lockButton.
The next time they press the generateButton, only the 9 items that are not locked should be randomized again, and the locked item should remain in the repeater (preferable on the same place).