Forum OpenACS Q&A: Javascript in ad_form

Collapse
Posted by kousalya S on
Hi,

I need to call datepicker in ad_form.

So, I included the code in tcl file inside ad_form
"{after_html {(<ahref="javascript:myfunction('a')">today</a>)} }}".

But the problem is myfunction('a') is not being called here.

I need to know where to include the function.

Please help me out!