Hi,

I am using gadgets.io.makeRequest method to make a call to my server
to get some data. I am using content type as "TEXT" in this method.
The response I recieve makeRequest  is used to set innerHTNL of a
div.

Response from server looks like following:

        <a href="javascript:void(0);" onclick="custom_alert();">custom alert</
a>
        <script type="text/javascript">

                        function custom_alert(){
                                alert('this is custom_alert');
                        }

        </script>

When I click on "custom alert" link my javascript function returned
from response to makeRequest call does not execute.

Is this feasible or if yes, than can anyone please let me know if I am
doing something wrong as this code works in stand alone application.

Thanks,
Paresh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to