How do I add multiple data entries using AJAX? I found this snippet online:`
$.ajax({
type: "POST",
url: "../php/saveEntry.php",
data: {id: someID}
dataType: "html"
});
`
So basically i want to ad multiple input id’s.. do i just do this?
id: someID, id: someID, id: someID
or is each ID wrapped in {} curly brackets?
Please tell me if my question is unclear.
Thanks
the data attribute: