alberomo


Member since 07/25/2011

51 snippets

3182 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

alberomo's Recent Snippets



1 2 Next »
Descripción: Valida los campos de checkboxes obligatorios enviados por la función validaForm-->http://snipplr.com/view/58245/funcin-validaform-para-validar-formularios-con-parmetros-xml-y-nombres-de-clase/. En el caso de que no sea validado, llama...
0 562 posted 13 years ago by alberomo
Descripción: Valida los campos de e-mail enviados por la función validaForm-->http://snipplr.com/view/58245/funcin-validaform-para-validar-formularios-con-parmetros-xml-y-nombres-de-clase/. En el caso de que no sea validado, llama a la función err...
0 542 posted 13 years ago by alberomo
Descripción: Valida los campos que deben ser carácteres enviados por la función validaForm-->http://snipplr.com/view/58245/funcin-validaform-para-validar-formularios-con-parmetros-xml-y-nombres-de-clase/. En el caso de que no sea validado, estable...
0 523 posted 13 years ago by alberomo
Nombre: ParseNIF. Recibe: cadena texto. por ejemplo un campo de texto de formulario. Devuelve: true si cadena es un NIF valido, sino false.
0 557 posted 13 years ago by alberomo
Descripcion: Validar preguntas obligatorias con radio Recibe: Objeto radio de un formulario Devuelve: true si hay alguno que se encuentra checked, sino false.
0 572 posted 13 years ago by alberomo
Descripcion: Evalua el formato de una cadena String en cuanto a si es una Dir. Correo. Recibe: Cadena como un String Devuelve: true si Cadena es direccion de Correo. false en caso de no tener formato adecuado.
0 685 posted 13 years ago by alberomo
Descripción: Valida los campos que deben ser un número enviados por la función validaForm-->http://snipplr.com/view/58245/funcin-validaform-para-validar-formularios-con-parmetros-xml-y-nombres-de-clase/. En el caso de que no sea validado, llama a...
0 694 posted 13 years ago by alberomo
Descripción: Valida los campos obligatorios enviados por la función validaForm-->http://snipplr.com/view/58245/funcin-validaform-para-validar-formularios-con-parmetros-xml-y-nombres-de-clase/. En el caso de que no sea validado, llama a la función...
0 543 posted 13 years ago by alberomo
Descripción: Envia un formulario cuando se acciona el evento 'submit' Devuelve: La función de validación con el objeto formulario del documento. Requiere de: función envio_form() -->http://snipplr.com/view/58245/funcin-validaform-para-validar-...
0 682 posted 13 years ago by alberomo
Descripción: Recorre los objetos formulario buscando elementos/campos que deben validarse y que envia como parámetros. Llama a las diferentes funciones de validación, en función de los nombres de la clases introducidos.* Además, definie parámet...
0 791 posted 13 years ago by alberomo
Check if user has intruded a real email address. Return true (real email) or false (fake email). Arguments: Element from a form. From book Dom Scripting by Jeremy Keith
0 1135 posted 13 years ago by alberomo
Arguments: Element from a form. Take that element and checks if is filled. If not, returns false. If is filled, returns true. From book Dom Scripting by Jeremy Keith
0 1119 posted 13 years ago by alberomo
A JS function that put the focus in the form field associated to a label element whenever is clicked. The for atributte of the label element must match the id attribute of the associated form field. It takes no arguments. From book Dom Scripting by...
0 672 posted 13 years ago by alberomo
JS Function that style sibling elements of a given tag. Arguments: tag of the element We want siblings to style and name of the class we want to add. It needs the class to be styled (using CSS). It uses getNextElement function and addClass functions....
0 477 posted 13 years ago by alberomo
A JS function that makes bold the text of table rows ("tr" elements) when you "mouseover" them. It takes no arguments. From book Dom Scripting by Jeremy Keith.
0 456 posted 13 years ago by alberomo
A JS function that stripes the tables ("table" elements) of a document. It takes no arguments. Add a new class ("odd") to the odd rows that needs to be styled using CSS. Use addClass function. From book Dom Scripting by Jeremy Keith.
0 539 posted 13 years ago by alberomo
A JS function that returns the next element of a node. Argument: The node you want to know next element. From book Dom Scripting by Jeremy Keith.
0 595 posted 13 years ago by alberomo
JS function that takes the accesskey attribute of the links of the document and display them at the end of the document. Takes no arguments. From book Dom Scripting by Jeremy Keith.
0 490 posted 13 years ago by alberomo
JS function that add a link included in the cite attribute of the blackquote HTML element as sup element close to the blackquote. Takes no argument. From book Dom Scripting by Jeremy Keith.
0 485 posted 13 years ago by alberomo
Description: A function that add a class to an element if the element doesn't have anyone, if it already has one, add a new class name. Arguments: The elemento to which you want to add the class and the name of the class you want to add. From boo...
0 896 posted 13 years ago by alberomo
Description: Execute different functions when the page loads in a better way than default onload JS event. Include it in the end of the JS document. Arguments: Name of the function that you want to execute when the page loads. Author: Simon Williso...
0 846 posted 13 years ago by alberomo
1 2 Next »