Have you tried using Firebug and console.log?
By changing your original edit_row function to:

edit_row = function(e) {
       logDebug(e.src());
       console.log(e.src());
}

logDebug returns a empty line, while console.log returns the <a> node.

* * *

Another test:

edit_row = function(e) {
       logDebug(e.src().innerHTML);
       console.log(e.src().innerHTML);
}

This returns the expected results in both logs: a string "Edit".
This test worked with e.target() too.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to