JavaScript and client side scripting.
Moderator: General Moderators
-
GeXus
- Forum Regular
- Posts: 631
- Joined: Sat Mar 11, 2006 8:59 am
Post
by GeXus »
I get a not implemented error when I call the following function... im simply doing an onclick addnote().. any idea why this would happen?
Code: Select all
function AddNote()
{
var newNote = new PhotoNote('Add note text here...',-1,new PhotoNoteRect(10,10,50,50));
newNote.onsave = function (note) { return 1; };
newNote.ondelete = function (note) { return true; };
notes.AddNote(newNote);
newNote.Select();
}
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
Case sensitive?
-
GeXus
- Forum Regular
- Posts: 631
- Joined: Sat Mar 11, 2006 8:59 am
Post
by GeXus »
Yeah sorry, im using AddNote()
-
GeXus
- Forum Regular
- Posts: 631
- Joined: Sat Mar 11, 2006 8:59 am
Post
by GeXus »
omg, i spent several hours tearing apart this code.. and i had onclick="onclick="
ARRG!
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
hahaha.
