One more simple thing just replace * with '  it will work

On 24 May 2010 23:40, lucas owen <sr.ilus...@gmail.com> wrote:

> Hi:
>
>
> is it possible to pass a dynamic parameter to a javascript function???
>
> I'm trying this:
>
>
> <h3 id="<s:property value=*'info.id_html'*/>" class=*"head"*>
>
> <a href="*javascript:fPrimerNivel(*<s:property
> value=*'info.id_html'*/>*);*"
> ><s:property value=*"info.titulo_menu"*/></a>
>
> </h3>
>
> javascript function:
>
>  fPrimerNivel(id){ alert(id); }
>
> yields [object]
>
>
>
> If I try the same, but with javascript:fPrimerNivel(this.id), I get
> [undefined]
>
>
>
> I dont know if this is possible, any help would be so much appreciated!!!!
>
> ciaooo
>

Reply via email to