A ver, espero no equivocarme
Cuando cargas el hidden, el nombre del campo es txt_cod
Código PHP:
function Selec(combo)
{
var indice = combo.selectedIndex;
var valor = combo.options[combo.selectedIndex].text;
alert(indice);
alert(valor);
document.form1.txt_cod.value = valor;
}
pero cuando la rescatas, estás preguntando por txt_prod.. y esa variable no existe..
Código PHP:
<%
cod = request.QueryString("txt_prod")
buscar = "select * from producto where prod_cod = '"&cod&"'"
set rs = con.execute(buscar)
if not rs.eof then
nom = rs.fields("prod_nom")
precio = rs.fields("prod_precio")
end if
<input type="text" name="txt_nom" id="txt_nom" value="<%=nom%> " readonly />
<input type="text" name="txt_precio" id="txt_precio" value="<%=precio%> " readonly />
%>
entonces... cambia esta linea
Código PHP:
cod = request.QueryString("txt_prod")
por esta linea
Código PHP:
cod = request.QueryString("txt_cod")
Ojala y te sirva

Saludos!