is there a way to find out the value in the cell before and after it is changed in javascript or jQuery? I am thinking I might have to use combination of events like onfocus and onblur. please let me know.
Thanks,
sridhar.
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.
Ofcourse it is possible. Method I prefer to store temporary data is to store them inside object/variable. I am just not sure if you refer to table cell or database cell, but essentially it makes no difference. Using focus it would go like this:
As comment from Cory Larson suggests, you can also store data inside the element itself using jQuery data.