I am creating one web application in ASP.NET. What I want is when the invoice is created and when the quantity or amount is changed in the GridView then the rows effecting that GridView cell should get a highlighted color for some seconds and then get back to normal as they were.
I just want to catch the eye of the user that the values changed.
It appears that you want a variation of the answer to this question:
How to change the gridview row colors in onclick event in javascript?
Rather than binding to the entire row, you would want to add the javascript function to an event associated with the quantity and amount field:
Note: be careful here as
onblurwont handle all changes. You might want to review Detect all changes to a <input type="text"> (immediately) using JQuery to detect all changes to your field.Then in order to make your row “highlighted” you would find it easiest to use jQuery’s Highlight effect.