referencing (this) in a function
- by Sara Chipps
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?