🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #473

Re: Páginas jsp y javascript.

#473
From: GRUPOS DE JAVA
Date: Fri, 04 May 2007 21:04
29 lines
2160 bytes
INDEX.JSP
<%@ page contentType="text/html; charset=iso-8859-1" language="java"
errorPage="error.jsp" %>
<script>
      // radio button seleccionado
  function validarSiNumero(numero){
    if (!/^([1-65535])+$/.test(numero))
      alert("El valor " + numero + " no es un número valido");
  }
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>ETC</title>
...
...
          <input type="radio" name="PUERTOS" value="opcion5" CHECKED/>
      ESPECIFICOS
      <input name="ESPECIFICOS" type="text" size="40" maxlength="50"
id="puertosE" onChange="validarSiNumero(this.value);">
....
...
</form>
</body>
</html>


ESPERO QUE TE SIRVA, PARA MI SI JALA SALUDOS.
Technical Details
Message-ID: <1178312645.392470.77660@l77g2000hsb.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!l77g2000hsb.googlegroups.com!not-for-mail
References: <1178203794.010140.148230@c35g2000hsg.googlegroups.com> <59v0niF2l7i9lU2@mid.individual.net> <1178229766.811311.41250@n59g2000hsh.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1116f3,5f1ade08b7d61562
X-Google-Attributes: gid1116f3,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!l77g2000hsb.googlegroups.com!not-for-mail
From: GRUPOS DE JAVA <omm1979@gmail.com>
Newsgroups: es.comp.lenguajes.java
Subject: Re: Páginas jsp y javascript.
Date: 4 May 2007 14:04:05 -0700
Organization: http://groups.google.com
Lines: 30
Message-ID: <1178312645.392470.77660@l77g2000hsb.googlegroups.com>
References: <1178203794.010140.148230@c35g2000hsg.googlegroups.com>
   <59v0niF2l7i9lU2@mid.individual.net>
   <1178229766.811311.41250@n59g2000hsh.googlegroups.com>
NNTP-Posting-Host: 189.131.69.82
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1178312645 3149 127.0.0.1 (4 May 2007 21:04:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 4 May 2007 21:04:05 +0000 (UTC)
In-Reply-To: <1178229766.811311.41250@n59g2000hsh.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: l77g2000hsb.googlegroups.com; posting-host=189.131.69.82;
   posting-account=SUVqDAwAAACMYIJlcEhY29h6VjIQnh1_