On 26 feb, 18:50, Thadeus Burgess <[email protected]> wrote:
> try it in firebug.
>
It works. There was an error, apparently some browsers allow.
I changed it:
<span onclick="$('#id').attr('value','{{=r.id}}');ajax('bg_marcas',
['id'],'{{='marcas%d'%r.id}}');jQuery({{='marcas
%d'%r.id}}).slideToggle();">[Marcas]</span>
for this:
{{div_id='marcas%d'%r.id}}
{{div_id2='#%s'%div_id}}
<span onclick="$('#id').attr('value','{{=r.id}}');ajax('bg_marcas',
['id'],'{{=div_id}}');jQuery('{{=div_id2}}').slideToggle();">[Marcas]</
span>
Jose
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.