Support for Named Elements
Reported by nickg | March 27th, 2010 @ 04:45 AM
Lovely DOM interface for directly getting forms, images and a few others.
document.NAME
where NAME comes from name attribute, e.g. document.foo -->
This is a bugger since some how you have to intercept all attributes and check that the node is the right type, and if the attribute is 'name' (and sometimes 'id') and modify defineGetter appropriately. Boo!
Comments and changes to this ticket
-
nickg March 27th, 2010 @ 04:49 AM
- Assigned user set to nickg
wild, lighthouse wiki strikes again. My example was...
document.foo --> <form name="foo">
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
a javascript browser environment