Thank you Brian!!!

On Oct 24, 5:08 pm, brian <zijn.digi...@gmail.com> wrote:
> var currentId = $(this).attr(’id’);
> $('#another-id-'+currentId).show();
>
> (don't forget the # before the ID)
>
> On Sat, Oct 24, 2009 at 4:50 PM, lukas <animod...@gmail.com> wrote:
>
> > Based on the ID of a clicked element I would like to show another ID:
> > var currentId = $(this).attr(’id’);
> > or var currentId = this.id;(?)
>
> > $("another-id-(how can I include here currentId?).show();
>
> > Thanks for your help!

Reply via email to