jquery validation based on drag & dropped items
问题 I'm trying to learn about jquery as much as possible, looking at many examples around the web, but still got problem with events. As you can see, I made a simple drag&drop thing using jquery UI, but all examples I found arround didn't help me with validating this. I created correctAnswers but the problem is I have no idea how to validate them. As it's easy to see, 'a' goes to 1, 'b' goes to 2, and 'c' goes to 3, and when I click 'submit' button it validates. var correctAnswers = ['a-1,b-2,c-3