Use:
$(".header_10").click(blub);

On Apr 23, 4:18 am, weidc <mueller.juli...@googlemail.com> wrote:
> hi,
>
> however come i can't use .click() in my tpl so i tried using the attr
> onclick.
> well it works in firefox and so on but not in ie6.
>
> code:
>
> $(".header_10").attr("onclick","blub()");
>
> function blub(){
>         alert('sdasd');
>
> }
>
> thanks for any help.

Reply via email to