|
From: Hugh G. <hug...@gm...> - 2012-06-06 21:43:16
|
That works great! Thanks so much!
On Wed, Jun 6, 2012 at 8:08 AM, Ghislain Fourny
<ghi...@28...> wrote:
> Hi again Hugh,
>
>> I think that this should work:
>>
>> declare sequential function local:test()
>> {
>> b:js-call('test')
>> };
>>
>> b:addEventListener(b:dom()//button[@id='test'], "onclick", local:test#2)
>
>
> I just realized the function local:test also needs to be adapted to take two parameters:
>
> declare sequential function local:test($location, $event-object)
> {
> b:js-call('test')
> };
>
> Kind regards,
> Ghislain
>
|