I didn't try it but I think you have to replace in web2py_ajax.html the
current function. Tell me if this work, Im interested in this too. (you have
to load jquery of course head.js("/path/to/jquery.js"); )
function web2py_component(action,target) {
head.ready(function() {web2py_ajax_page('get',
Are there any tricks to get this working with LOAD()? I can't seem to get my
LOADs to work when I implement head.js. Is it because the LOAD is being
attempted before Jquery is loaded?
Thanks great find!
That is exactly what I am trying do to here...
2011/3/10 Martín Mulone
> I'm thinking... this can be go very well with web2py.
>
> For example this come to my mind...
>
> in web2py
> response.scripts.insert(0,URL('static','js/jquery.js'))
> response.scripts.insert(1,URL('static','js/calendar.js'
Very good!
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
I'm thinking... this can be go very well with web2py.
For example this come to my mind...
in web2py
response.scripts.insert(0,URL('static','js/jquery.js'))
response.scripts.insert(1,URL('static','js/calendar.js'))
render as
head.js("/path/to/jquery.js", "/path/to/calendar.js");
in web2py
resp
That's what I was looking for!
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/10 Martín Mulone
> Very interesting
>
> 2011/3/10 Richard Vézina
>
> Thanks to share Bruno
>>
>> Richard
>>
>>
>> On Wed, Mar 9, 2011 at 9:09 PM, Bruno Rocha
Very interesting
2011/3/10 Richard Vézina
> Thanks to share Bruno
>
> Richard
>
>
> On Wed, Mar 9, 2011 at 9:09 PM, Bruno Rocha wrote:
>
>> Head JS script loader
>>
>> With Head JS your scripts load like images - completely separated from the
>> page rendering process. The page is ready sooner
Thanks to share Bruno
Richard
On Wed, Mar 9, 2011 at 9:09 PM, Bruno Rocha wrote:
> Head JS script loader
>
> With Head JS your scripts load like images - completely separated from the
> page rendering process. The page is ready sooner. Always. This is guaranteed
> even with a single combined J
9 matches
Mail list logo