thanks for the immediate reply.

param1 and param2 are determined on the client side.

how can it be generated by javascript?


On Sunday, May 20, 2012 10:05:10 PM UTC+3, Anthony wrote:
>
> On Sunday, May 20, 2012 1:18:44 PM UTC-4, Ashraf Mansour wrote:
>>
>> I tried this
>>
>> <h3   {{=A('  ..... ',_href=URL('action'))}}/param1/param2 </h3>
>>
>> and it did not work.:)
>>
>> what is the right way of doing it?
>>
>
> A() doesn't produce a URL -- it produces an anchor tag (i.e., <a 
> href="...">...</a>), to which you are then appending "/param1/param2", 
> which obviously doesn't work.
>
> What are you trying to do? Are param1 and param2 known on the server side? 
> If so, add them as args to the URL() function. If they are determined on 
> the client side, then you'll need to use Javascript to generate the URL on 
> the client.
>
> Anthony
>

Reply via email to