<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div>Hi Folks,<br></div><div><br></div><div>I have a view that displays a bunch of links to content.&nbsp; I want these links to load the content via AJAX.&nbsp; The instructions for my use case, which is <u><strong>not</strong></u> Drupal Forms, are sparse. Even so, I think I've followed them completely, and things are working as well as can be expected.<br></div><div><br></div><div><div>So far, so good.<br></div><div><br></div><div>I click a link and I see the spinner... but then nothing.&nbsp; <span style="text-decoration: underline;"><strong>And I know why, but I don't know how to correct it.</strong></span>&nbsp; The server returns a json string to the browser, and the browser simply does what that string implies, which is to muck with the DOM because, of course, that's what AJAX does.&nbsp; In my case I am returning the trivial "Hello World." string:<br></div><blockquote><div>$s = '&lt;H1&gt;&lt;B&gt;&lt;U&gt;&lt;I&gt;Hello World.&lt;/I&gt;&lt;/U&gt;&lt;/B&gt;&lt;/H1&gt;';<br><br>$ajax_commands = array();<br>$ajax_commands[] = ajax_command_after(<em><span data-mce-style="text-decoration: underline;" style="text-decoration: underline;"><strong>NULL</strong></span></em>, $s);<br><br>return drupal_json_output($ajax_commands);<br></div></blockquote><div>...but notice that the jQuery selector is <em><span data-mce-style="text-decoration: underline;" style="text-decoration: underline;"><strong>NULL</strong></span></em>.&nbsp; My reading of the instructions is that the target of the ajax_command will be relative to the DOM node that was clicked, but my experience is that nothing is being selected and consequently nothing it happening.&nbsp; I have verified that everything is otherwise correct.&nbsp; If I use ".use-ajax" as the selector, then EVERY link in the view is effected, so clearly the jQuery selector is the problem.<br></div><div><br></div><div>I tried the obvious "this" (without quotes, because it is not a string in this context), which didn't work.&nbsp; Does anybody know how to address the clicked element of the DOM?</div><br><div>Thanks for the help,<br></div><div><br></div><div>Chris.<br></div></div><div style="position: absolute; left: -40px; top: -25px; width: 1px; height: 1px; overflow: hidden;" data-mce-bogus="1" class="mcePaste" id="_mcePaste"></div></div></body></html>