I have a form. Initially an input element has the class "unfilled". As the form is filled out I dynamically remove the class.
The form is submitted and there is a redirect to another page.
I click the "back" button and come back to the original form, but the element is missing the "unfilled" class.
This not a problem in IE8. I tried adding this jQuery call, but it is not executed when the page is reached via back button:
$('#my_input').hasClass('unfilled')
Thanks!
edit: Posted the wrong line of code above, sorry. Should be:
$(document).ready(function() {
$('#my_input').addClass('unfilled')