Is it possible to remove or delete all jQuery codes from page in codebehind?
First I want to delete all and then recreate some of them.
Is it possible to remove or delete all jQuery codes from page in codebehind?
Share
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.
I think you are thinking about this the wrong way, you don’t need to remove the code just add a condition that means it only runs when you want it to.
For example you could add a class to the element you want to affect with your jQuery and only run the click function if it has this class. When you don’t want it to run remove the class, when you do want it to run add the class…. simple.