Re: Inline javascript in a view not executed

2007-12-05 Thread [EMAIL PROTECTED]
My code is this: Index.thtml: link('New','#', array( 'update'=>'div_id', 'url'=>'/post/new/'

Re: Inline javascript in a view not executed

2007-12-05 Thread [EMAIL PROTECTED]
Yes I'm using prototype. I'm using Ajax helper. I'm using $ajax->link and from Html code I can see that evalScript is already set to true. On 4 Dic, 19:11, Christophe Cholot <[EMAIL PROTECTED]> wrote: > On Dec 4, 5:22 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > Hi I have a questi

Re: Inline javascript in a view not executed

2007-12-04 Thread Christophe Cholot
On Dec 4, 5:22 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi I have a question > I have a index.thml where there are many divs. > Then with ajax I substitute one of divs with another view > ( view.thtml). > In this view I use a javascript function attached to a link. > So If I define

Inline javascript in a view not executed

2007-12-04 Thread [EMAIL PROTECTED]
Hi I have a question I have a index.thml where there are many divs. Then with ajax I substitute one of divs with another view ( view.thtml). In this view I use a javascript function attached to a link. So If I define this function in view.thtml I get an error instead I define the function in inde