Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7902767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:35:19+00:00 2026-06-03T09:35:19+00:00

I Use jQuery Sticky Notes Plugin http://www.jquery-sticky-notes.com/ I Connect it with database using asp.net

  • 0

I Use jQuery Sticky Notes Plugin http://www.jquery-sticky-notes.com/
I Connect it with database using asp.net web service and ajax to create note and edit and delete, then i get notes from database using json array.
the problem is: i cant populate this plugin with notes from database
it use option array

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);
        });

note contain note properties if one note now:-
how can i populete this plugin with notes from database using this array of options

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:35:21+00:00Added an answer on June 3, 2026 at 9:35 am

    try the code below and populate Note array as per comments in the code, starting from line 3 (You need to place a For loop or something). and then assign the array to option.notes as in the second last line.

    jQuery(document).ready(function() {
                var note= new Object();
                ///////Populate the Notes array here
                note=[{"id":1,
                              "text":"Sticky Text1",
                              "pos_x": 20,
                              "pos_y": 50,  
                              "width": 200,                         
                              "height": 200,                                                    
                            },{"id":1,
                              "text":"Sticky Text 2",
                              "pos_x": 50,
                              "pos_y": 50,  
                              "width": 200,                         
                              "height": 200,                                                    
                            }];
                    ///////Populate the Notes array here
    
                    var options = {
                        notes:null
                        ,resizable: true
                        ,controls: true 
                        ,editCallback: edited
                        ,createCallback: created
                        ,deleteCallback: deleted
                        ,moveCallback: moved                    
                        ,resizeCallback: resized                    
    
                    };
                    options.notes=note;
                    jQuery("#notes").stickyNotes(options);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use the plugin (http://www.vertstudios.com/blog/jquery-sticky-scroller-position-fixed-plugin ) on a page i'm building. I'm
Im using phonegap + jquery + jquery iphone touch: http://www.midemos.com/demos/iphone/touch/?/iphone/touch/ Im trying to get
I'm trying to use this plugin http://www.cssnewbie.com/example/equal-heights/plugin.html but haven't used much javascript before. It
I'm trying to do the classic Sticky Element in reverse. See http://imakewebthings.com/jquery-waypoints/sticky-elements/ for an
If I use jQuery AJAX to call a specific ASP.NET page method how to
I am using asp.net mvc 3 jquery validate unobstructive javascript. I am trying to
I use jQuery Validation plugin to ensure what user entered positive cost_of_car in first
I use jQuery to get values of presaved elements from some websites, using paths
I use jquery pagination plugin for paging... If there is one pagination plugin there
I'm trying to use JQuery BGStretcher and a sticky footer setup and while they

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.