In this article, we will learn how to capture a photo using a webcam or device’s camera in jQuery/JavaScript.