var status = Xrm.Page.getAttribute("statuscode").getValue();
if (status == 100000000) {
Xrm.Page.getAttribute("new_closedon").setValue(new Date());
if 100000000 =closed on what is the value for resolved???? i need the value for resolved so that i can write javascript.. is it a static value ??? or we can give different values. how it is stored in value??