I have a working Grid Serializer. Now I want to clear the Grid Serializer values without refreshing page. So, I added a jquery script to clear the hidden field:
$("input[name='links[products]']").prop("value", "");
It works fine when I am on the first page, but when I go to the next page and clear the hidden Grid Serializer it will not clear for the previous page.
I can able to see that the Grid Serializer hidden field was empty, but when I tried to do a search or reset filter the hidden values are posted in the form data.
I don't know how the post values are posted even the hidden field was empty. Is there any way to clear the Grid Serializer values?