I have elements being generated by dynamic html, I would like to reference the particular href that is calling the function when one of many may be calling it.
<a href="javascript:Foo(this)">Link</a>
Does not work when I try to reference $(this). Is there another way to do this or do I have to make dynamic ids?
<a href="javascript:Foo(this.href)">Link</a>will work if you want to pass the href.However, onsomething handlers in the html code are not jqueryish at all.
Give your links a class and setup a live handler: