Questions tagged as 'jquery'

1
answer

How to validate if the date is greater than the other? [duplicate]

How to validate if the date is greater than the other? I'm using .clone to duplicate the line! function validaData (local){ $(local).find(".calendario").each(function (index){ var dataInicial = new Date; var dataFinal =...
asked by 22.08.2017 / 17:28
4
answers

Multiple ajax requests using jquery

I have this code over and over again and wanted to simplify this in a kind of plugin or function. Information I usually use, Type = > ' get ' and ' post ' and url , and return I deal in sequence with jquery . $.ajax({ type: '', u...
asked by 22.08.2017 / 23:29
1
answer

Submit using Ctrl + Enter or Click the button

I currently use this code to send my messages. $('#chatEnvia').click(function() { $.post( "inc_chatEnvia.php", { acesso: "ok", msg: $("#chatEscrita").val() }); }); I would like to know, how do I when pressed together Ctrl + Enter to...
asked by 17.08.2017 / 21:41
2
answers

jQuery statement only works by console

Hello, I have two statements in jQuery that I use for: Checking a checkbox Disable a radio button. The question is that these instructions run by the system does not work, but if I pick it up and play in the browser console everything h...
asked by 17.08.2017 / 15:32
3
answers

How to disable an input field?

After receiving a value, how do I block an input field so that it does not have its value changed? below are two fields; how to block only the 'FANTASY NAME' field and keep 'CNPJ' to receive a new value? $(document).ready(function(){...
asked by 02.09.2017 / 22:26
1
answer

Update amount in PivotTable with Ajax

I have a shopping cart that modifies the quantity through ajax by the remove and adiciona functions. I have the function atualizaQtd which by ajax returns the current amount. How could I insert this new quantity into td...
asked by 02.09.2017 / 20:49
1
answer

Problem validating form fields as required

asked by 01.09.2017 / 22:43
1
answer

What is the purpose of moment.js?

I bought a new bootstrap template for my system, and it came with an enclosed deal that returns me multiple alerts, moment.js. From what I've come to understand, it's like a client-side validation library with language support and conversion...
asked by 14.09.2017 / 20:59
2
answers

Enable PHP page with jquery

We get a system from which all pages are in HTML. Only the client wants each person who accesses your site, information such as IP, date and time to be stored in a database. On storage all right, just how could you do that when accessing the sit...
asked by 14.09.2017 / 22:29
1
answer

OnChange does not load in jquery?

I have an application that has several nested select and I use the onchange() function for the selected select change the subsequent one, but I need to select the clicked content, but since it already has the on(change) function in...
asked by 15.09.2017 / 02:51