Actually I just figured out the problem... I had the id I wanted to
extract set in the that the resided in... the anchor didn't
have any id set, which is why it wasn't being reported DOH. Anyways
thanks for everyone's help.
On Dec 30, 6:01 am, MorningZ wrote:
> I would suggest showing more of
t(this.id);
> });
>
> });
>
> On Dec 29, 7:21 pm, Kean wrote:
>
> > Try this then
>
> > jQuery(function($){
> > $("a[class=clicker]").click(function() {
> > alert(this.id);
> > });
>
> > });
>
> > On Dec
That doesn't work. When I do
alert(this.id)
in that function, nothing comes up. Additionally, "alert(this)" just
displays the url.
On Dec 29, 7:16 pm, Mike Alsup wrote:
> > I have a bunch of anchors that look like this:
> >
> > < a href="" class="clicker" id="click_1">click here
>
I have a bunch of anchors that look like this:
< a href="" class="clicker" id="click_1">click here
< a href="" class="clicker" id="click_2">click here
< a href="" class="clicker" id="click_3">click here
#
The my jquery code looks like this:
#
$("a[class=click
4 matches
Mail list logo