I have the following script:
function abreJanela(URL) {
location.href = URL; // se for popup utiliza o window.open
}
<select name="paginas" onchange="javascript: abreJanela(this.value)">
<option value="#" selected>Selecione o Estado</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-7/">BA</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-2/">CE</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-3/">DF</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-4/">ES</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-5/">GO</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-6/">MG</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2/">MS</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-8/">MT</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-9/">PR</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-10/">RS</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-11/">SC</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-12/">SP</option>
<option value="http://webdanfortunato.com/premiumleiloes/planilhas-3-2-13/">TO</option>
</select>
I need it in JSON, I found something similar and very useful in this example: link
But in the example does not show what they have inside the file "json_demo_db_post.php" ... Can anyone help me ?? From what I figured out if I could get the contents of the "json_demo_db_post.php" file I can accomplish my goal.