I believe the src attribute of any script tag loaded through an Ajax
call is ignored; all JavaScript needs to be included in the original
page load or embedded directly in the response.

On Apr 30, 3:23 am, Vijay <k.vidn...@gmail.com> wrote:
> Thanks for reply andrei.
>
> I am calling the normal javascript functions or any javascript file.
> I have some jquery effects for the text boxes & drop downs. That are
> not including when the ctp get called.
>
> my code is,
>
> <?php
> echo $html->css('mycss);
>
> echo $html->script(array('jquery', 'another script'));?>
>
> rest my html code............
>
> It is including the css but no js is included.
> here i am using jquery with prototype.
>
> On Apr 30, 12:10 pm, Andrei Mita <andrei.m...@gmail.com> wrote:
>
>
>
>
>
> > What type of js do you have in the loaded ctp?
>
> > Maybe you forgot to include something in the layout.
>
> > It's a blind guess without seeing the actual code. At least for me.
>
> > On Fri, Apr 30, 2010 at 9:23 AM, Vijay <k.vidn...@gmail.com> wrote:
> > > Hello All,
>
> > > I am using the ajax for the internal links in my site.
>
> > > When i click on the link & the new ctp loads, it is not including the
> > > javascripts that are included in that ctp.
> > > So the effects are not working.
>
> > > It includes the css but not including the javascript.
>
> > > Any idea.........................
>
> > > Thanks,
>
> > > Vijay Kumbhar,
> > > CTO, Weboniselab.
> > > 9766251100
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others
> > > with their CakePHP related questions.
>
> > > You received this message because you are subscribed to the Google Groups
> > > "CakePHP" group.
> > > To post to this group, send email to cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.c
> > >  om>For more options, visit this group at
> > >http://groups.google.com/group/cake-php?hl=en
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others 
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups 
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with 
> their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to