Questions tagged as 'jquery'

0
answers

JS calculation only works when input has the "value" tag filled by default

I have a JS function that calculates the token of the credit card of the pagseguro, but only works if the INPUTS has a VALUE by DEFAULT, for example: <input name="cardNumber" value="4111 1111 1111 1111"> If you RETURN the INPUT VALUE,...
asked by 24.12.2017 / 03:51
1
answer

How to remove numbers from a string?

Hello, it should be something easy, but I'm breaking the head to solve. I have a string, String(ValorTotal).replace("." , ""); //tira ponto This string returns me the following value: 23600000000000004 What I need is, remove tho...
asked by 25.12.2017 / 08:35
0
answers

CSS takes to load in window resize

It's a beginner question yet, I'm using the materialize framework and I'm having a problem that when I slow down or increase the window some elements take a long time for the css to load, or sometimes I need to refresh the page to load the css o...
asked by 24.12.2017 / 21:51
1
answer

Duplication of Chat messages at the time of the Webinar (client side)

Hello, I have a chat that at the time of the webinar when receiving enough clients watching at the time of sending message, the same on the screen seems duplicate, but in the database does not save duplicate, follow the chat code. function salv...
asked by 28.12.2017 / 12:44
2
answers

I need a script (JQUERY) to go to another page and save the data. [closed]

Sorry for not showing any code, because I did not find a logical solution. I need a script that access another page and save the data without being on that page understand? Example: You are in index.php and have $ given $ given2. Now the miss...
asked by 19.12.2017 / 05:18
0
answers

Return date complete jQuery PHP

Good evening, the idea is to return the complete date to be able to search the database correctly. When I open the page it looks like this: HomeWhenIclickthenextdayitlookslikethis: Apparentlycorrect,butIneedtheyearalsoforamorecorrectsearchinth...
asked by 19.12.2017 / 00:19
2
answers

Doubt how to create a layout for editing information

I am developing an internal tool to control travel expenses of employees, but I am in great doubt. I'll explain the steps I've taken so far. - > first the person enters the portal and requests a trip with an outward date, return date, d...
asked by 04.01.2018 / 11:03
0
answers

How do I use html5's input file multiple to make it select two different directory files

I have a question, how do I use input file multiple of html5 to make it select two files as follows: the user selects the first file after the dialog is closed when the file is selected, then it selects another file (opening the input file dialo...
asked by 02.01.2018 / 19:26
1
answer

The submit event does not work when I try to register

I have a problem with my jquery, the code below shows the moment which records the submit event by clicking the $("#quero-me-identificar").click(function () { if($(this).is(":checked")){ $("#painel-dados-usuario").show(); $("#log...
asked by 15.12.2017 / 20:56
0
answers

How to maintain uniform time for slides regardless of the number of slides?

I have the code below that works normally. However, with one drawback: The more images I put on the slide the faster the images change. I would like to make sure that, regardless of the amount of images added to the slide, they touch ea...
asked by 16.12.2017 / 18:45