Hola
ibme74
Prueba poniendolo así:
if (keycode == 13)
{
document.referen.importe.value = '';
document.referen.cantidad.value = '';
document.referen.cantidad.focus();
document.frames['referenciasoculto'].location='pasaparametros2.php';
return false;
}
Saludos,