I am highlighting textboxes after somebody changes its text on my asp.net form. Currently I am using jquery
, But unfortunately, the highlight will be removed after a postback
in asp.net
. Is there any way for the modified-text class
to be persisted after postback
? Will this affect perfomance if I use asp.net TextChanged event
to highlight ?
$('.form-content input, .form-content textarea, .form-content select').change(function (e) {
$(this).addClass('modified-textbox');
});