How can I check if the operating_table is within the selected range? Example: a bar works from 8:00 am to 1:00 p.m., a user chose the time interval from 12:00 to 9:00 p.m., how to check if this bar is open in that chosen time range?
var inte...
It is as follows: I have an array in javascript with the id that I want to increment using DB::table('team').increment->('points', 1000). How should I make my controller take this array and increment only the ids that are in it?
Would there be any way to include the youtube video without using the iframe provided by the API in the Incoporation method?
I'd like to insert into a tag, for example.
I have the following code below:
<video id="meuVideo" controls au...
I'm developing an ionic application that has the following functionality ...
Take the user's current location and the location of an item in the list (Let's say it's a mall) and create a route between the user and the mall. I have no idea how...
I need to access the variable vm.lat outside the POST below. What could I do to achieve?
var lat
var lng
$http.post(url)
.then(function(resp) {
vm.enderecoFull = resp.data
vm.geometry = vm.enderecoFull[0].geometry
vm.loc...
I have an ajax function that looks for the code of all the companies and goes in the other ajax function to look for the employees.
In order for the page to not crash when doing this search I'm using the async: true attribute, but in d...
I have this table that I did as a test where I would like that when the user schedules a schedule in a possisao he could come with a letter and put in the place of the one and the color of the cell type A = green B = black C = blue
but I'm not a...
Hi! I am using this code to do a fade in. The fade in works. The problem is that if you click something before the fade in finishes completely, this error appears, continuously! And it never ends!
"code.js:366 Uncaught TypeError: Cannot read...
I have a button that needs to be enabled when the user finishes filling the fields, however he needs to change the class when it is enabled ...
When the button is disabled I would need that as long as the fields are not filled the button stay...