I have buttons created dynamically. I know that bind/unbind is only applicable for elements not created dynamically. To add functionality I use .live()
which works perfectly. My problem is Idk how to remove the functionality. Please help.
Use die()
function for this
Read http://api.jquery.com/die
Also in Jquery-1.9 these functions
are removed
For this you can use on
and off
Read http://api.jquery.com/on and http://api.jquery.com/off
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With