Home >Web Front-end >JS Tutorial >Solving problems caused by different Jquery versions_javascript skills
This is the most perfect work written in the past three months. It uses JS to implement a drag and drop sorting. The rendering is as follows:
When I first entered the project, I had such a drag and drop implementation. I have no idea at all. Please ask my teacher to tell me that this is impossible. I felt very sorry at the time and planned to use traditional methods to achieve it. I was thinking about the traditional way and felt I had plenty of time, so I came back to the idea of dragging. It finally happened. In fact, I am not showing off this (of course, if you are interested, you can contact me at QQ907087894, I will organize the demo and upload it to the resource center), what I want to say is the following.
While I was implementing it, my senior sister helped another partner write a demo of a traditional solution, and he was sorting the modifications. When I demonstrated it on her machine, I felt very shocked at the time. With the slide of her mouse, I walked through the code and looked at the long chain of JS, and I suddenly admired it. At that time, I thought that after the project was completed, I would study her carefully.
2 months later, the wait is here, free time. Due to my unfamiliarity with JS, I struggled to understand the code. When I was running it, a bug flew in. When moving, it keeps saying there are no options.
She is firefox 23, mine is 16.0.1. I'm very happy that I finally found the crux of the problem and this matter is finally over.
A week later today, using the same browser to access resources on the server, this problem no longer exists. Let’s study it.
Fortunately, I don’t know where the inspiration came from. I replaced the originally introduced jquery.js with jquery-1.7.2.min.js, and the problem was finally solved again.
I don’t know if it will be overthrown again, haha~~