using jquery when passing arguments to function
<p>I have a link which triggers js function. To the link I have attached data-attribute on html which I want to pass to the function.</p>

<pre><code>$(".trigger").awesomeFunction({
  oneArgument: "secretSauce",
  secondArgument: $(this).data("address")
});
</code></pre>

<p>Now that second argument ends up null instead of the data-address attribute. Is it because $(this) is not in right scope inside the function arguments list and if so how could I refer to the originating link?</p>
