>
> If you add the following alerts, do either of them pop up?
>> <script>
>> jQuery(function() {
>> alert('registering click handler'); // should pop up on page load
>> jQuery('#vCardModalLink').click(function() {
>> alert('loading component'); // should pop up when the link is
>> clicked
>> web2py_component('{{=URL('vcard', 'mailVcard.load',
>> args=node.id)}}',target
>> ='vCardModal');
>> });
>> });
>> </script>
>>
>>
> both alerts pop up, the modal-backdrop pops up, but the div with id
> vCardModal is empty.
>
Using the developer tools, when you click the link, do you observe the Ajax
call being made? If so, does it return the expected response?
Anthony
--
---
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.