Thanks for that pointer. But I'm no javascript expert. I tried the
following two attempts, neither worked:
<script>
$('#myZone').on("t5:zone:update",function(){
alert('changed');
});
</script>
Is there something obvious that I'm doing wrong?
<script>
$("#myZone").change(function() {
alert('changed');
});
</script>
Adam
On Thu, Sep 15, 2016 at 10:01 AM, Chris Poulsen <[email protected]> wrote:
> Take a look at
> http://tapestry.apache.org/current/coffeescript/events.html#section-16 to
> see which events to listen for
>
> On Thu, Sep 15, 2016 at 9:40 AM, Adam X <[email protected]> wrote:
>
>> Hi,
>>
>> I know I'm missing something, but what's the easiest, cleanest
>> Tapestry way to hook a JS function whenever zone is updated via AJAX?
>>
>> For example, something simple like: alert('zone updated');
>>
>> Adam
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]