You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by matt22 <s1...@zoznam.sk> on 2010/06/22 14:11:44 UTC
How to run JS function after zone update?
How to run JS function after zone update?
<div t:type="zone" id="formZone">
...
</div>
....
I want to do something like:
$('formZone').observe("onLoad", function(){alert('vvv');})
...but of course, div dont have "onLoad"...
Simply to run my own JS function after every zone update.
thanks in advance
--
View this message in context: http://old.nabble.com/How-to-run-JS-function-after-zone-update--tp28959337p28959337.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to run JS function after zone update?
Posted by "Juan E. Maya" <ma...@gmail.com>.
This is described in the component's documentation:
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html
On Tue, Jun 22, 2010 at 2:26 PM, matt22 <s1...@zoznam.sk> wrote:
>
> i have this solution:
> $('formZone').observe("tapestry:zoneupdated", function(){alert('vvv');})
>
> --
> View this message in context: http://old.nabble.com/How-to-run-JS-function-after-zone-update--tp28959337p28959455.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to run JS function after zone update?
Posted by matt22 <s1...@zoznam.sk>.
i have this solution:
$('formZone').observe("tapestry:zoneupdated", function(){alert('vvv');})
--
View this message in context: http://old.nabble.com/How-to-run-JS-function-after-zone-update--tp28959337p28959455.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org