Questions tagged as 'jquery'

1
answer

Automatically check date checkbox

I have 3 checkbox and 2 inputs . The second checkbox is parent() of input type number and the third checkbox is parent() of input type number : $calendar .= "<td bgcolor='$color' data-se...
asked by 15.11.2018 / 11:32
0
answers

A * - Jquery + Javascript

I'm doing a pathfinding test in jquery with JS, and gave a strong wrap. I looked for several places, but I can not reason how to start reading the "neighbors" to make a line between the "Origin" (square where the user clicks) and the destinati...
asked by 13.11.2018 / 15:14
0
answers

Calculation for quantity of photovoltaic panels JAVASCRIPT (JQUERY)

I made a calculation test based on the formula of this video: link I used the following algorithm: function simular() { var radiacao = 5.6; var tarifa = 0.71; var valorc = $("#valor-conta").val();...
asked by 13.11.2018 / 17:15
0
answers

button always falls in the same condition

I have a code that adds things to the localStorage, everything works correctly, but the delete part does not work, I'll show the code and explain below. $(function () { var operacao = "A"; //"A"=Adição; "E"=Edição var tbClientes = localStorage...
asked by 13.11.2018 / 13:50
0
answers

Data Table loading loading on server side

I have a project and I'm using data table, for its creation I made a code and it was working with test releases, when I exported a database backup the page took a long time to load the script and when I loaded it gave this error, A script on...
asked by 06.11.2018 / 18:16
0
answers

Sort elements between divs with drag and drop

Good afternoon. I'm doing a personal project and in it I have several divs with divs inside and I need to be able to exchange those elements with each other, I can put an element that is in col-1 with what's in col-2 for example, in a range o...
asked by 06.11.2018 / 16:58
2
answers

Generate HTML components with PHP and assign them javascript characteristics

I created a form that has a panel, and in that panel it has a input date with a jquery datepicker . If I have data entered in the database, my PHP creates more rows in this panel (via ajax ) with other input to insert d...
asked by 07.11.2018 / 01:02
1
answer

Drag & Drop with jQuery does not put the element in the right DIV

I'm trying to perform two image swapping when a user clicks on an image and drags the other image. However, my code does not put the images in the correct position, it leaves the destination image in the same place and puts the image that was...
asked by 07.11.2018 / 00:46
0
answers

Jquery Datatables set width to column does not work with scrollY

I am using the datatables plugin in a modal, where I have a table in it, however if I set a scrollY: to the table, the same modal does not recognize the width of thead, it opens the modal with the width width 0 %, the strange thing is that: by c...
asked by 09.11.2018 / 01:46
1
answer

When selecting a select item, change the input field

I have the following fields: TheselectwillcontainRGandCPF.HowcanIdothatwhenselectingtheCPF,thefieldchangestowhathasmask?ThefieldthatcontainsthemaskIhaveready,Ijustneedtoincludeitinthischange.Seethecode:<tableborder="0" width="100%">...
asked by 03.11.2018 / 16:17