<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div>Hi Folks,<br></div><div><br></div><div>Is there any unique identifier associated with a re-written link field in a view?<br></div><div><br></div><div>Context for the above question: AJAX is dead simple for links. There are four steps:<br></div><ol><li>call hook_menu to establish two paths and the attendant callbacks <path-ante>/nojs/<path-post> and <path-ante>/ajax/<path-post></li><li>re-write the path to include "/nojs" somewhere</li><li>tag the relevant links with "class=use-ajax"</li><li>include the line "drupal_add_library('system', 'drupal.ajax');" in the page.</li></ol><div>Here's the problem. When I receive the AJAX post in the callback for the path <path-ante>/ajax/<path-post>, I have to respond with the new HTML and a jQuery selector to indicate the "target" of my AJAX updates to the DOM. Since I don't know the DOM node that is calling me, I don't know how to tell the browser to select it. If there were some unique identifier, then when I re-write the link I can add this to the custom css classes that also are included with the re-write.<br></div><div><br></div><div><span name="x"></span>Chris.<br></div></div></body></html>