Hi all,

has someone succeeded in using jQuery inside a Ning App? Are there things to take care? Something else that nont using AJAX jQuery call and use instead makeRequest?

Thanks in advance

Views: 85

Reply to This

Replies to This Discussion

I've used jQuery and jQuery UI inside of several Ning Apps. Since Ning Apps live inside of an iframe they don't affect the rest of the page.

 

You wont be able to use jQuery's built-in AJAX methods because of the cross-domain issue. To make external requests you must use OpenSocial's makeRequest which proxies the request through Ning to get around the cross-domain issue. As a side-benefit, OpenSocial can sign the request to ensure the request came from Ning.

 

 

Reply to Discussion

RSS

Blog Posts

Getting Started

Posted by Kyle Ford on October 13, 2010 at 8:00am 3 Comments

A Note on API Pricing

Posted by Phil McCluskey on October 1, 2010 at 8:55am 0 Comments

Welcome to Build!

Posted by Kyle Ford on September 30, 2010 at 8:30pm 1 Comment

Ning Status

© 2023   Created by Build Team.   Powered by

Badges  |  Report an Issue  |  Terms of Service