Himanshu wrote:
> Hi,
> I', developing a widget using OpenSocial 0.7 for Friendster. I want to
> make a AJAX call from my widget. Here's what i'm doing-
>
> <Content type="html" view="canvas">
>  <![CDATA[
> <script src="http://www.google.com/jsapi";></script>
> <script>google.load("prototype", "1.6.0.2");</script>
>
> <p onclick = "<%= remote_function(:update => 'summary_div',
>                                    :url => {:controller =>
> 'widgets', :action => 'test' }
>                                     ) %>"> Click Here</p>
>
> ]]>
> </content>
>
> ==========
> I'm getting 404 error!  leaves me in higgledy-piggledy situation. Can
> i have an idea about what should I do, from one please?
> >
>
>   
Please look for the opensocial.makeRequest() call.

You would need to use that as an alternative solution to ajax inside 
opensocial container.

Also, an alternative solution is to embed an iframe and then you can 
have your prototype libraries embedded and use the call that you have 
mentioned in the mail above.

Let me know if you need any additional help.

Thanks,
Rohan Dighe,
Social Web Factory.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to