Home  • Programming • JQuery
sir, is it a good solution to use jquery on() method to handle dynamic data (ajax within ajax)? If no can i have a hints to solve the problem. As you previously said that eval() can be a solution. But it seems complicated to me. Please help...

Comments 4


just use live() method to bind any event instead of others.
Sorry there for remarking the post very lately.. Actually It is the era of jquery 1.8.1, where live(), delegate(), and bind() method is relys on on(), though they are still working but they are deprecated from jquery 1.7.1
means that in the very next future they will be removed from the jquery library. so it's good practice to rely on on() method rather than bind(), delegate(), live() to stay with the current technology
Ya you are right. I replaced live() with on() and it took almost one week. it happend 4 months ago when i upgrade vcampus's jquery with latest one.

Share

About Author
Jahid  Hasan
Copyright © 2024. Powered by Intellect Software Ltd