Hola
Sería algo así
Código Javascript
:
Ver original<script> function rxp(opcion) {document.getElementById('div').innerHTML = opcion.value;}
var uno = "<input type='button' onclick='contenido()' value='Contenido1' /></a>*<input type='button' onclick='contenido()' value='Contenido2' />*<input type='button' onclick='contenido()' value='Contenido3' />";
var dos = "<input type='button' onclick='contenido()' value='Contenido1' />*<input type='button' onclick='contenido()' value='Contenido1' />";
function funcion() {
var seleccionado = '<?php echo $_GET['cual'];?>';
var opt = document.forms[0].opciones;
for (var i = 0; i < opt.options.length; i++) {
if (opt[i].id == seleccionado) opt.options[i].selected = 'selected';
document.getElementById('div').innerHTML = eval(seleccionado);
}
opt.options[0].value = uno;
opt.options[1].value = dos;
}
window.onload = function () {funcion();};
</script>
<center>
<form>
<select name="opciones" onchange="rxp(this)">
<option id="uno" value="">Categoría 1</option>
<option id="dos" value="">Categoría 2</option></select>
</form></center>
<div align="center" id=div></div>
Ahora la query sería
http://localhost/simple.php?cual='uno'
Suerte