![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
10/01/2003, 08:04
|
![Avatar de Phobos](http://static.forosdelweb.com/customavatars/avatar5855_1.gif) | | | Fecha de Ingreso: abril-2001 Ubicación: sentado frente a un pc prestado
Mensajes: 375
Antigüedad: 23 años, 9 meses Puntos: 2 | |
conflicto con una funcion y exploradores por que esta funcion me funciona bien en explorer5 y en el 6 no. No lo he probado en el 5.5.
que hago mal???
<script>
<!--
function muestra()
{
location.reload();
var numero =document.myform.ncantidad.value;
var hrefStringex=location.href;
var s = hrefStringex.indexOf("?");
if(s == -1)
var hrefString=location.href;
else
hrefString = hrefStringex.substring(0,s);
if(hrefString.length==0)
document.write("El URL actual carece de esta propiedad");
else
document.location= hrefString +"?num=" + numero ;
}
-->
</script>
aca la llamo
<select name="ncantidad" onchange="muestra(this.value)" class="texto"> |