1
I have the page index.html that I have a data listing as below:
<ul class="list-group list-group-flush listDocsFIn">
<li class="list-group-item">
<a href="financeiro.html">
<div class="media-body">
<input type="hidden" value="78657563">
<h6 class=" mb-0">User1</h6>
</div>
</a>
</li>
<li class="list-group-item">
<a href="financeiro.html">
<div class="media-body">
<input type="hidden" value="8765544">
<h6 class=" mb-0">user2</h6>
</div>
</a>
</li>
</ul>
would like to go to the page financial html. retrieving the data from the input that is with the ID of user.
I don’t know if I’m treating this one either ID in a correct way.
I can’t use the PHP
javascript only.
Thanks in advance for Help!
By making the form method GET, the parameters will be passed in the URL. Then you recover in JS on the target page. I believe it has already been pondered how to recover right here in Sopt, worth a search...
– Bacco
Obrigado Bacco!
– Robson Freitas