I am using a timeline. Javascript have timeline elements with very large description fields. I don't want to inflate my json payload source data with all of this, as this is only necessary when someone clicks on a timeline element.
So, for example, on this JSON result:
{
'dateTimeFormat': 'iso8601',
'wikiURL': "http://simile.mit.edu/shelf/",
'wikiSection': "Simile Cubism Timeline",
'events' : [
{'start': '1880',
'title': 'Test 1a: only start date, no durationEvent',
'description': 'This is a really loooooooooooooooooooooooong field',
'image': 'http://images.allposters.com/images/AWI/NR096_b.jpg',
'link': 'http://www.allposters.com/-sp/Barfusserkirche-1924-Posters_i1116895_.htm'
},
I would like to remove the description field together (or send null) from JSON and load it onto another call through another ajax call.
one way or another, so as not to send the desription field during bootstrapping, and when someone clicks on a timeline item, it loads the description via ajax at that point
I thought it would be a normal function, but I can not find it