HDTuto.com

Latest Articles


How to get current URL in Vue JS?

Are you wanted to get current url in your Vue js app ? If yes then you are a right place. if you are working with plan vuejs without using vue js route then you can get with window object. but if you are using vue js route then you can also get with route object. so it is a very simple way we can get current url. I give you bellow both example, just see it and ut it those you require... <strong>i.....

Posted On June 24, 2018

Laravel 5.6 - Preview and Crop Image Before Upload using Ajax

A few days ago i was working on my php laravel 5.6 new project. i exactly remember i was working on user profile page and i need to add image upload on my user profile page. but i know image uploading is simple with laravel 5.6, but i also need to add crop and preview image before save image in folder. I was thinking how can i do it easily, i decide to do with my own jquery but after write some c.....

Posted On June 24, 2018

PHP Laravel 5.6 - How to delete multiple row with checkbox using Ajax?

As we know, It's a very important to time consuming task to delete records one by one when there are too many records in the MySQL database table. So in this tutorial i will show you how to remove ro delete multiple rows or records with select checkboxes using jquery ajax in laravel 5.6 application. so basically, in this example, we will create "categories" table and model. Also you need to add s.....

Posted On June 17, 2018

How to access attributes value as params in x-editable?

a few days ago I was working on my PHP laravel project with x-editable js. actually, I can say x-editable is amazing. everything was working fine with pk and value parameter. but I also need to add another custom parameters. I set with an attribute but can't get of ajax file. So I was confused with that. I search on google and found solution of my problem. we can also add another parameter with d.....

Posted On June 13, 2018

How to read and write json file in PHP Laravel?

Hi PHP Dev, do you require to modify or update your json file in laravel 5 application? If yes then i will let you know how to read and write json file in Laravel project. we will create json file and save json data. Actually, i was working on my laravel app and i require to use laravel translation using laravel trans. but i need to use trans with json data. i was thinking how to read and write t.....

Posted On June 11, 2018