You wouldn't.You'd add two graphics to the map, one with the target symbol and one with the text symbol.Check out the "Find Address" example to see how it's done there.http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jssamples/locator_address.html
I see a couple of options. The first would be to use a PictureMarkerSymbol and a TextSymbol for each point. Yes, it's two symbols per point but this is probably the simplest solution. One other way to do this would be to modify Sathya Prasad's infoTip sample. I think this would get you closer to duplicating the functionality shown in the silverlight example.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.