Archives

jQuery: How can I capture the ID of clicked element?

In some special case, if you need to capture the ID of a clicked element using jQuery code then, this tutorial is for you. To get the ID attribute of an element, I’m going to use jQuery attr() method which helps in getting the value of any attribute created in an element. For example, you… Read More »

How can I get the storage path in Laravel 8

You might be creating a script in Laravel, that can help you to get the storage path of a file/image. Which you have already stored in the ‘storage/app/images‘ directory (For example). And, you want to get the file from the storage path to process further. Laravel has already created a plenty of helper methods, by… Read More »

How to get current logged-in user details in Laravel 8

Lets say, you are creating a web application, where you need your logged in customer’s user Id so that, you can show some links/or some specific features based on certain criteria. In such case, this tutorial is helpful for you. And yeah, sometimes we forget these small things and we try to Google it :).… Read More »