Skip to main content
Retag, grammar fixes, and tried improving clarity
Source Link

Currently, I have a working Grid Serializer. Now I want to clear the Grid serializerSerializer values without refreshing the complete page. So, I have added a jquery script to clear the hidden field:

$("input[name='links[products]']").prop("value", "");

It was workingworks fine when I am inon the first page, but when I wentgo to the next page and clear the hidden grid serializerGrid Serializer it waswill not clearingclear for the previous page.

I can able to see that the GRID serializerGrid 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 serializerGrid Serializer values.?

Currently, I have a working Grid Serializer. Now I want to clear the Grid serializer values without refreshing the complete page. So I have added a jquery script to clear the hidden field

$("input[name='links[products]']").prop("value", "");

It was working fine when I am in the first page, but when I went to the next page and clear the hidden grid serializer it was not clearing 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.

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?

Source Link

Clear GRID Serializer Values in hidden field

Currently, I have a working Grid Serializer. Now I want to clear the Grid serializer values without refreshing the complete page. So I have added a jquery script to clear the hidden field

$("input[name='links[products]']").prop("value", "");

It was working fine when I am in the first page, but when I went to the next page and clear the hidden grid serializer it was not clearing 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.