ScriptSupport - this
script will be executed after the zone is updated:
onAjaxEvent()
{
javaScriptSupport.addScript("alert('Hello')");
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Run-javascript-after-a-zone-is-updat
; the returned script manually on friebug after the cell is rendered, It
> >> causes the desired effect !!
> >> May be the dom isn't ready for the script to run ? I'm confused !
> >>
> >
> > I guest that's simply a JavaScript problem -
ipt manually on friebug after the cell is rendered, It
>> causes the desired effect !!
>> May be the dom isn't ready for the script to run ? I'm confused !
>>
>
> I guest that's simply a JavaScript problem - did you solve it?
>
> Do you add the Script via
it?
Do you add the Script via JavaScriptSupport?
--
Chris
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Run-javascript-after-a-zone-is-updated-tp4787067p4795128.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
I have a table with many cells being updated using ajax calls. In the
block returned by the ajax call, I conditionally run some java script
to style the td and div in which the response is rendered.
For a reason, this javascript isn't executed well. But I when I run
the returned script manually on