Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/12/2005, 22:51
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 19 años, 5 meses
Puntos: 39
Si entendi bien, necesitas obtener los atributos de ciertas etiquetas?
Código PHP:
function getAttribute(tagName)
{
  var 
tag document.getElementsByTagName(tagName);
  for (
attribute in tag[0])
    
alert("atributo: " attribute " = '" tag[attribute] + "'");

Espero haber ayudado
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.