I have this code.
The click function unbinds correctly but when i click on the button Edit 1 but it doesnt binds it back.
What have i been doing wrong ?
Please help me out
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The main problem with your code is that you’re not rebinding your click handler to any particular function (and it doesn’t seem to say anywhere in the docs that it should be rebound to the previous handler if you call
bindwithout a handler). So, you have to change your code like this:But that’s not all. Apparently, something’s wrong with your CSS too, because the
ed1div is not catching click events. It was fixed when I removed all of the CSS.