I have a page html like this:
<div id="content" style="padding: 100px;">
<a href="#"> rel="dhtmlwindow">content</a>
<div rel="dhtmlwindow">content</div>
<a href="#" rel="dhtmlwindow";>content</a>
<a href="#" rel="dhtmlwindow">content</a>
</div>
I want to select all tag a has rel is dhtmlwindow and this is code:
$('content').select('a[rel="dhtmlwindow"]').each(function(anchor) {
alert (anchor);
});
But it doesn't work, it returns href of tag a instead a object.
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.