November 2017
— Btw guys, is it possible for send multiple data in JSON Ajax under one label ?
In example, i send this
data : {'id': '1','2','3'},
— If it possible, how to?
— You can send an array
— Hmm?
— { id: [1,2,3,4] }
{ id: [1,2,3,4] }
— Owh i see
— I got it
— Thanks marco
— Btw is it work if it like this?
— What is your context?
—
JS{ id: [JSON.parse(localStorage.getItem('product')[0]['id],JSON.parse(localStorage.getItem('product')[0]['id]]}
Message permanent page