Look at the HTML source that ends up in the browser -- your Javascript code
blocks will execute in the order in which they appear in the page (i.e., if
you have two $(document).ready() calls, the first in the page will execute
first).
Anthony
On Wednesday, May 9, 2018 at 6:53:22 AM UTC-4,
in layout i removed my js from document.ready to a simple
my js code...
now it works.
2018-05-09 11:53 GMT+01:00 António Ramos :
> both the js are in $(document).ready(function(){
>
> regards
>
>
> 2018-05-09 11:52 GMT+01:00 António Ramos :
>
>>
both the js are in $(document).ready(function(){
regards
2018-05-09 11:52 GMT+01:00 António Ramos :
> Hello strangely the javascript from my layout executes after the js in a
> webpage that extends layout.
>
> Is it so???
>
> Regards
>
--
Resources:
- http://web2py.com
3 matches
Mail list logo