Oh. Missed the fact that identify is a method. Not a variable. So You
are close.
Sent from my phone so please pardon any spelling errors.
On Jan 10, 2010, at 11:08 AM, bill wrote:
> DJ Mangus wrote:
>>
>> What is returned is the same thing you'd get if you used $('id').
>> Chain on .identify to
Either should work fine. No need for a variable though. It's what
makes prototype so nice.
Sent from my phone so please pardon any spelling errors.
On Jan 10, 2010, at 11:08 AM, bill wrote:
> DJ Mangus wrote:
>>
>> What is returned is the same thing you'd get if you used $('id').
>> Chain on .
DJ Mangus wrote:
What is returned is the same thing you'd get if you used $('id').
Chain on .identify to get the Id from a DOM node.
Thank you.
as in:
function clickHander (event) {
var id = event.element().identify ?
or rather:
function clickHander (event) {
var element= event.element()
DJ Mangus wrote:
What is returned is the same thing you'd get if you used $('id').
Chain on .identify to get the Id from a DOM node.
Thank you.
as in:
function clickHander (event) {
var id = event.element().identify ?
...
--
Bill Drescher
william {at} TechServSys {dot} com
--
You receive
What is returned is the same thing you'd get if you used $('id').
Chain on .identify to get the Id from a DOM node.
On Sunday, January 10, 2010, bill wrote:
>
>
>
>
>
> The docs say:
>
>
>
> Event.element(event) -> Element
> Returns the DOM element on which the event occurred.
>
> But, what is ac