jquery - Fullcalendar: Correct JSON feed not beeing displayed after update -


i´m having problems updating fullcalendar version 1.4.7 1.6.3:

the events aren´t being loaded anymore. i´m using sql-server database via json feed. here´s example string:

[{id: '1',title: 'nfhnjzd',start:  1376344800,end: 1376344800,allday:true,description: ''}] 

the string above worked out fullcalendar 1.4.7. , being loaded correctly via get, event not displayed in calendar.

steps took based on working version:

  • updated fullcalendar.css 1.4.7 1.6.3
  • updated fullcalendar.min.js 1.4.7 1.6.3
  • updated jquery-1.3.2.min.js jquery-1.10.2.min.js

i´ve been looking answers in web ages , can´t find solution. can´t json string, can it? if create new event written database, if reload page, event disappears again eventhough it´s in database.

no errors displayed in firebug. thing can see statement correctly filled json feed, works if hardcode in working version.

can help?

ok, i´ve solved now. after receiving error

json.parse: expected property name or '}'. 

changing result string of json feed from

[{id: '2',title: 'zhdtjtjdzh',start:  1376344800,end: 1376431200,allday:true,description: 'zjmhztdzhj'} 

to

[{"id": "2","title": "zhdtjtjdzh","start":  1376344800,"end": 1376431200,"allday":true,"description": "zjmhztdzhj"} 

did job. thing did change quoting. so, after unexpectedly json feed. have requirements json elements changed? stated in main question above, generated json feed without quotes worked when used old fullcalender , older jquery versions. i´m bit confused now...


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -