Questions tagged as 'jquery'

2
answers

Check if operating hours are in the chosen time range JQuery / Javascript [duplicate]

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...
asked by 07.06.2018 / 20:16
1
answer

Show data from an ajax function, in another ajax function

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...
asked by 04.06.2018 / 16:13
1
answer

Change button class after filling in all fields

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...
asked by 30.05.2018 / 15:46
0
answers

Reusing a jquery code for posts loads WordPress

I have a code, which loads wordpress posts via ajax. Works great on all templates. Index, tag, categories, etc. What I notice in this code is that apparently the loading is done through the divs, I do not know how to explain, just know that only...
asked by 29.05.2018 / 15:48
1
answer

Limit jQuery checkbox

I'm creating a system where the bank's ready images and below each image has a checkbox, all this inside a for to get the images of the bank, wanted a function to be able to limit the amount of checkbox ie photos that the user can select, I'm us...
asked by 30.04.2015 / 15:45
2
answers

How to return ajax errors with jquery in Laravel 5.6

As I read in the documentation, when using ajax, the answer is always returned in json, but I can not get the information to print. The message returned in the console is: http://localhost/projeto/cadastra/usuario 422 (Unprocessable Entity)...
asked by 05.06.2018 / 16:05
3
answers

Catch only the time in FullCalendar

How do I get the time on FullCalendar only? I'm using FullCalendar to register the events. The fields are:    Title, Event Color, Date, Time, Description In the database, it is being registered as follows: OnlywhenIedit,itappearswitht...
asked by 05.06.2018 / 17:00
0
answers

onChange in jQuery Input Mask does not work

I have a React component for user registration, in some of the fields I added a Jquery mask, but since I added the mask, the onChange command has stopped working (only in the fields with the mask) one of the fields is this: <input type="...
asked by 08.06.2018 / 21:52
0
answers

Normal Menu does not return when opening with jQuery

The problem: I have the following website: link In Resize the browser of 1024x768 the menu works fine. Now for resolution below 320px , clicking on the retractable menu, ie the figure with the 3 horizontal bars, will open th...
asked by 08.06.2018 / 16:33
0
answers

Get only one variable value

I'm having a little problem with my sales system. The system works as follows, when I press the + button, it adds the product to the cart, until then everything is ok, however, it is taking the code of all products registered. Do any of y...
asked by 28.05.2018 / 22:17