Ning Developer Network

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

Tags: javascript, program, programming, script

Share Twitter

Reply to This

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

Reply to This

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

Reply to This

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!

Reply to This

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

Reply to This

Reply to This

Reply to This

RSS

© 2010   Created by Ning Developer Admin

Badges  |  Report an Issue  |  Privacy  |  Terms of Service