I'm trying to make a system where I would have a datalist
with all my options
and every page of my site would be mirrored. Example:
<input type="text" name="tCid" id="cCid" placeholder="Insira uma opção" list="cEst" />
<datalist id="cEst">
<optgroup label="Séries Ativas">
<option disabled>Opcao1</option>
<option disabled>Opcao2</option>
<option value="Opcao3">Opcao3</option>
<option disabled>opcao4</option>
<option disabled>Opcao5</option>
</optgroup>
</datalist>
In this case, it will have a input
for the user to type an option and select it. I just want this datalist
to be unique to every page of my site. That is, when I take out disabled
from Opcao1
and put value="Opcao1"
, it should update all pages of my site that have this datalist
tag.