Getting data on selectionAdded and selectionRemoved

Jacques's Avatar


25 Nov, 2010 05:47 PM

Is there anyway I can get the data object back for the gievn item on the events selectionAdded and selectionRemoved??


  1. 1 Posted by ubai on 16 Dec, 2010 09:26 AM

    ubai's Avatar

    I face the same issue as well with selectionAdded unable to get data back. I've tried using
    elem.getAttribute('name'); & elem.valueOf('name').toString();

    in both cases the result is either undefined or [object Object].

  2. 2 Posted by ubai on 22 Dec, 2010 04:35 AM

    ubai's Avatar

    instead of using selectionAdded I used resultClick to retrieve the data.

    resultClick: function(data){ lookup(data); }

    in the lookup funtion, you may use the following code to get the value
    var name =;

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac