Ver Mensaje Individual
  #6 (permalink)  
Antiguo 16/04/2007, 01:22
tammander
 
Fecha de Ingreso: enero-2006
Ubicación: Torroles (Costa der Só)
Mensajes: 1.017
Antigüedad: 19 años, 3 meses
Puntos: 7
Re: duda sobre un pequeño error al llamar a una funcion con select case

Prueba lo que te dije:

Los SELECT:
Código:
Dim permitirJs

permitirJs = false

Dim Modo
Modo=Ucase(Request.Querystring ("Mod"))
Select Case  Modo
    Case "C"
        Contra()
    Case "F"
        Formulario()
    Case "S"
        Subir()
    Case "A"
        Archivos()
    Case "M"    
        Modificar()
    Case "M2"    
        Modificar2()
    Case "RSS"
        permitirJs = true
        RSS()
    Case "CON"
        Contador()
    Case Else
        Contra()
End select

Y en el tag <body>

Código HTML:
<html>
<head> .... </head>
<body <% if permitirJs then response.Write " onLoad=""init('txtNoticia')"" " %> >

....

</body>
</html> 


Un saludo
__________________
"Tus pecados son el estiércol sobre el que florecerán las flores de tus virtudes" - Gerald Messadié -