0
Good afternoon Personal,
I have the following radios in HTML
<input class="form-check-input" type="radio" name="filtro_por" id="filtro_por" value="sinistro_datacadastro" >
<label class="form-check-label" >Data de Cadastro</label>
<input class="form-check-input" type="radio" name="filtro_por" id="filtro_por" value="sinistro_datasinistro" checked>
<label class="form-check-label">Data de Sinistro</label>
And I need that every time the user selects one of the options the date value in td below, automatically change.
<td>{{ obj.sinistro_data }}</td>
I would like to make this change dynamically using Jquery, because my project was developed in Bootstrap.
Is it a column for date of registration and another for date of claim? Or is it the same column for both dates? Is the source for the date one for the claim and the other for the registration or the same source for both? Can the current date be used or it comes from a Datepicker?
– Augusto Vasques
Good morning Augusto... - It is a column for each date (registration and sinister)... - I didn’t understand your question about the source, but basically, I would like that as I select the respective radios, td change and search in the field according to the filter I select - As I have a column for each date, and they are already registered, I do not want to use the current date...
– Carlos Souza
I asked about the data source because I didn’t understand if the data is present on the page (input or Datepicker) or if we need to request this data from a server. If a back end request is the case, ask the question the means you use to request the dates.
– Augusto Vasques