I have a tabcontainer which contains 5 tabs. I want to clear all data inside each of the controls of tab1 using Jquery what is the best way to achieve this?
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.
The following will remove all content from elements matched with the given selector:
$("<selector here>").html("");Edit
To remove data inside input elements:
$("<selector here> input").val("");If
tablis a class, then use.tablas the selector. If it is an id, use#tabl.