![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/10/2005, 17:16
|
![Avatar de Vaalegk](http://static.forosdelweb.com/customavatars/avatar97124_0.gif) | | | Fecha de Ingreso: abril-2005
Mensajes: 154
Antigüedad: 19 años, 9 meses Puntos: 2 | |
a lo que Saruman se refiere es que por ejemplo si tu creas un elemento asi
<input type="text" id="el_ID" validation="empty" >
si vez la prop validation es inventada, para leerla en tu script usas
validation=forma.el_ID.getAttribute('validation',2 );
si me acuerdo bien hay un tercer parametro que es para distinguir entre mayusculas y minusculas... por otra parte nunca he intentado usar esta tecnica en los tag de <script > pero solo es cosa de experimentar. |