I have a list .
I want update special item of it with javascript.
I created a js file and add this code to it :
var context = new SP.ClientContext.get_current();
var web = context.get_web();
var list = web.get_lists().getByTitle("Sends");
var salesItem = list.getItemById(90);
salesItem.set_item("Status", "Closed");
salesItem.update();
It is work for text field but don't work for Choice field.
How do update a item with javascript?