zankb

Capture name of ersi.dijit.BookmarkItem on click

Discussion created by zankb on Feb 10, 2012
Latest reply on Feb 14, 2012 by agup-esristaff
Hello,
I have created a application and have used the bookmarks widget to add 20 some odd custom bookmarks to the map within a "dijit.TooltipDialog" drop-down list (as the online sample shows). I can connect to the esri.dijit.Bookmarks onClick event to run functions when the user selects a bookmark from the list. What I would like to do to do extract the "name" of the BookmarkItem that was selected by the user after each on click event and pass it into a variable. Does anyone know if this is possible?

Thanks,
Benjamin Zank

Outcomes