I think this should be changed... The get(0) should not be required. We can 
change web2py.js.

On Sunday, 16 June 2013 15:47:09 UTC-5, step wrote:
>
> Yes, this works too
> response.js = 
> "$('#grid_course').get(0).reload();$('#grid_pricelist').get(0).reload()"
>
> On Sunday, June 16, 2013 10:41:26 PM UTC+2, step wrote:
>>
>> I do have that function. Maybe that function itself is giving me a clue, 
>> on the fifth line
>> var statement = "jQuery('#" + target + "').get(0).reload();";
>>
>> so adding .get(0) after jQuery() enables reload(), of course...
>>
>>
>> On Sunday, June 16, 2013 10:34:28 PM UTC+2, step wrote:
>>>
>>> I will check but I doubt it's a bug, jQuery doesn't have a reload 
>>> function, js does.
>>>
>>>>
>>>>>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to