Create a help click function jquery / javascript
<p>I want to create a help function on a site.</p>

<p>I have a button (help). Once the user clicks on that button, a listener listens to where the user clicks next on the page and I want that elements info to be extracted.</p>

<p>I can use this information then to search on another site.</p>

<p>New to jquery and javascript have this so far , not sure how to continue or change</p>

<pre><code>$("#help" ).on( "click", function() {
     alert( $( this ).text() );
});
$( "#help").trigger( "click" );
</code></pre>

<p>Please help me with this.</p>