jerpod wrote:
> Thanks Ca-Phun Ung...that's exactly what I needed.
>
>
Cool :)
Thanks Ca-Phun Ung...that's exactly what I needed.
jp
On Sep 5, 11:25 am, Ca-Phun Ung <[EMAIL PROTECTED]> wrote:
> Try:
>
> $('.nominatelink').click(function(e){
> $(this).siblings('img').trigger('click');
> e.preventDefault();
>
> });
$(this).parent().next('img').click();
then you can insert a function hope that helps...
jereyBass
On Sep 5, 9:06 am, jerpod <[EMAIL PROTECTED]> wrote:
> I've got some html that looks like this:
>
>
> Some text here. class="nominatelink" href="#">Make your nomination.
>
>
> This
Try:
$('.nominatelink').click(function(e){
$(this).siblings('img').trigger('click');
e.preventDefault();
});
At a glance it looks as though you are targeting the wrong element.
The parent() takes you to the DIV and the next() takes you to the next
DIV (awardnomination). Just use $(this).prev('img').trigger('click')
or similar.
On Sep 5, 9:06 am, jerpod <[EMAIL PROTECTED]> wrote:
> I've got some html th
5 matches
Mail list logo