<script type="text/javascript" charset="utf-8"> var edited = function(note) { alert("Edited note with id " + note.id + ", new text is: " + note.text); } var created = function(note) { alert("Created note with id " + note.id + ", text is: " + note.text); } var deleted = function(note) { alert("Deleted note with id " + note.id + ", text is: " + note.text); } var moved = function(note) { alert("Moved note with id " + note.id + ", text is: " + note.text); } var resized = function(note) { alert("Resized note with id " + note.id + ", text is: " + note.text); } jQuery(document).ready(function() { var options = { notes:[{"id":1, "text":"Test Internet Explorer", "pos_x": 50, "pos_y": 50, "width": 200, "height": 200, }] ,resizable: true ,controls: true ,editCallback: edited ,createCallback: created ,deleteCallback: deleted ,moveCallback: moved ,resizeCallback: resized }; jQuery("#notes").stickyNotes(options); }); </script>
<br /> Page.RegisterStartupScript("OnLoad","<script>functionName();</script>");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)