I have this which posts data to an express/node app and then writes to MongoDB All works well except the select customer: $('#custs').val(), which is showing undefined. This should be simple, No exceptions are throwing either on the client or server side... How do I get the value of the select?
Thanks In Advance!
     function sendIt(){             
             $.ajax({                
            url: "/doIt",
            type: "POST",
            dataType: "json",               
            data: JSON.stringify({                   
                customer: $('#custs').val(),                     
                userID: $('#userID').val(),
                resource: $('#resID').val(),
                ticket: $('#ticketID').val(),
                issueDate: $('#IssueDate').val(),
                issueTime: $('#IssueTime').val(),
                TechName: $('#TechName').val(),
                Urgent: $('#isUrgent').val(),
                description: $('#descript').val()
            }),                 
            contentType: "application/json",
            cache: false,
            timeout: 5000,
                            <select id="custs">
                             <option value="JSC">JSC Co</option>
                              <option value="AGM">More</option>
                              <option value="SWW">Spunge Work</option>
                              <option value="BBV">BBV Corp</option>
                              <option value="UGL">UGL Corp</option>  
                            </select>
 
     
    