Parameters are static, we are unable to refresh Parameters in Tableau to get updated records.
This is not for Date field, i am trying on string Data type:
If possible can any one provide any particular code?
It's possible to pass values for parameters through a query string - Unable to Use Parameters as URL Parameters to Filter a View | Tableau Software
Here's the JS API reference - API Reference for more information on the filtering / parameters.