Posts by rikardo_paiva • 176 points
6 posts
-
0
votes1
answer145
viewsA: 2 clicks to open the Popover again
Change the use $popup.popover('hide') for $popup.popover('toggle'). Add the following code to your script: $('body').on('hidden.bs.popover', function (e) { $(e.target).data("bs.popover").inState = {…
-
1
votes1
answer1634
viewsA: How to view all images from a folder in html?
To read and print all images in a folder you can use the following php code to generate your listing. <?php $pasta = ___DIR__ . DIRECTORY_SEPARATOR ."images"; $arquivos =…
-
1
votes1
answer208
viewsA: Take only a portion of the input content without submitting
By choosing the file, you can use the following Function callback to process the changes you want to make: function responsive_filemanager_callback(field_id){ console.log(field_id); } Another option…
-
1
votes3
answers134
viewsA: How not to let the user click more than once on javascript button
In jquery Voce you can do so: $(document).ready(function () { $("#send").one('click', function (e) { $(this).prop('disabled', true); }); });
-
0
votes1
answer59
viewsA: Laravel 5.4 Migrations?
For the creation of Foreign you need to first run the table migrate units and after that migrate the table users. php artisan db:see --class=CreateUnidadesTable php artisan db:see…
-
0
votes1
answer84
viewsA: Using DB in Middleware Lumen
Add after the class Middleware namespace the following line: use Illuminate\Support\Facades\DB;
lumenanswered rikardo_paiva 176