• Abhinav Sharma
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hello,

 

I would like to know how to store data, after a database query, for using this data in a Ajax script?

 

I have a custom object. Called "Calendar". I need to store, to collect data from this custom object "Calendar", but i don't know how?

 

I need to have my data in this 'format' :

 

{ResourceId: 'LastName FirstName', Type : 'Type_1', Title : 'Type_title', Ip : 'LastName FirstName',  NBapprenants : '10', StartDate : '2011-08-15 09:00:00', EndDate : '2011-08-15 18:00:00'},

 

 

I can display this data with a Controller and a Visualforce using apex tags, but i need to store this data for an ajax application.

 

 

If somebody can help me?

 

regards

 

Emmanuel

 



  • November 09, 2011
  • Like
  • 0