find by id code example
Example 1: getelementbyid
document.getElementById("someid");
Example 2: javascript getelementbyid
const element = document.getElementById('id');
//or
const element = document.querySelector('#id');
Example 3: find one with specofoc id mongoose
YOUR_MODEL_NAME.findOne({_id: reqParameterID}, function(err, result) {
if (err) {
console.log(err);
} else {
// Do Something
}
});