Ning Developer Docs

Hi,

Can someone tell me how to add Javascript to a page, maybe with an example?

P.S. I tried on a notes page and it deleted the javascript.

Thanks,

Steve

Views: 3

Replies to This Discussion

Hi Steve,

To get Javascript working properly, you must be the Network Creator of the social network. Also note that Javascript won't work on Notes instances, but will work on Pages instances as well as HTML text boxes. To actually embed JS to the social network itself, you may want to investigate the following tutorial:

http://developer.ning.com/notes/Introduction_to_Tracking_Code_Hacks

Thanks!
- Ernie
your link is empty !

Ernie H. said:
Hi Steve,

To get Javascript working properly, you must be the Network Creator of the social network. Also note that Javascript won't work on Notes instances, but will work on Pages instances as well as HTML text boxes. To actually embed JS to the social network itself, you may want to investigate the following tutorial:

http://developer.ning.com/notes/Introduction_to_Tracking_Code_Hacks

Thanks!
- Ernie
I also reported this to Help Center:
If in "Pages" you write some code requiring jQuery, it doesn't work because the jQuery library it's loaded after Page rendering!
You can test it on every network!
Your link is empty !

Ernie H. said:
Hi Steve,

To get Javascript working properly, you must be the Network Creator of the social network. Also note that Javascript won't work on Notes instances, but will work on Pages instances as well as HTML text boxes. To actually embed JS to the social network itself, you may want to investigate the following tutorial:

http://developer.ning.com/notes/Introduction_to_Tracking_Code_Hacks

Thanks!
- Ernie

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service