I have the following field on the "index.php" page:
<input type="hidden" id="exemplo" value="<?php $varExemplo; ?>">
I would like to get the value of this field on another page using jQuery.
var exemploIndex = $("#exemplo").val();
Would it be something like this? Or would you need to declare the form as well? Thank you!