theres no moo way of doing this.
You can do a for on the attributes collection.
var elAttributes = el.attributes;
for(i = 0, attr; i < elAttributes.length; i++){
attr = el.attributes[i];
if(attr.nodeValue) console.log(attr.nodeName, ' : ', attr.nodeValue);
}
something like this (untested).
--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces
On Sat, Mar 13, 2010 at 2:53 PM, Oskar Krawczyk <[email protected]>wrote:
> Pre-set all possible attributes and do *el.getProperties('title', 'href',
> 'rel', ...);*
>
> On 2 Mar 2010, at 18:06, duclet wrote:
>
> What would be the Moo way of getting all the attributes of an element
> if you don't know ahead of time what the possible attribute names are?
>
>
>