Is there a way to know if anything has changed on the webpage? I mean if a field has received a value or a combobox has changed, anything at all?
This is my situation: I have a page with a lot of fields and a save-button. What I want to do: if nothing has changed on the page and the user presses 'save' I don't really want to go to the DB to save the data that hasn't changed.
I know I can compare the values of all the fields with the new values, but isn't there a way you can check the request or something like that, in one single test I mean?
Thanks
This is my situation: I have a page with a lot of fields and a save-button. What I want to do: if nothing has changed on the page and the user presses 'save' I don't really want to go to the DB to save the data that hasn't changed.
I know I can compare the values of all the fields with the new values, but isn't there a way you can check the request or something like that, in one single test I mean?
Thanks