Posts by opeta • 385 points
29 posts
-
0
votes2
answers69
viewsA: set Enum field to null in Procedure
found the solution, put the field I will receive the Enum as int and send 0 in case of empty ai Seto as null CREATE DEFINER=`root`@`localhost` PROCEDURE `fichacadastral_u`( p_id_efetivo int(11) ,…
-
2
votes2
answers69
viewsQ: set Enum field to null in Procedure
I have a precedent that I receive some data and these may come empty up there all right, but when the field is Enum and I try to set as null gives data truncated error for column even the field can…
-
0
votes1
answer167
viewsA: Google line Harts does not appear line
I solved the problem by changing the sql so that the database answer came this way: 'DATA', 'VALOR1', 'VALOR2', 'VALOR3', 'VALOR4', 'VALOR5', 'VALOR6', 'VALOR7', 'VALOR8' '2017-10-30', '1', '3',…
-
2
votes1
answer167
viewsQ: Google line Harts does not appear line
I’m trying to generate a line chart like Google Charts but the lines don’t form and I don’t know why. The chart even appears with the subtitles but no longer works follows below my code (the button…
-
0
votes1
answer414
viewsA: Chart numbers from Google Charts
You can do with a reply json I will pass you what I have here which is in php + mysql + json change according to your need. php statistic. <script…
-
0
votes1
answer653
viewsA: validate dynamic field with validate
got the solution and I come here to share to anyone who has a similar problem can solve: i was using jquery.validate.min.js and I started using the full version jquery.validate.js inside it I…
-
0
votes1
answer653
viewsQ: validate dynamic field with validate
I’m trying to do a validation for a dynamic field with validate, but it only validates once. The dynamically added fields are not being validated follows below: $(document).ready(function() {…
-
1
votes1
answer274
viewsA: Custom filter range of number datatables
I come here with the problem solved and to possibly help other people. $('#filtro1').on("change", function(){ var valor = $(this).val(); var arr = valor.split('-'); if (…
-
1
votes1
answer274
viewsQ: Custom filter range of number datatables
I’m trying to make a custom filter by selecting a range of numbers with the datatables and it only works once. I tried several ways and none worked and researching found nothing, so I come here to…
-
1
votes2
answers330
viewsA: by placing plot value in dynamically created input
I came back to give my solution to the problem, there was something spectacular more works. follow the form Total: <input type="text" class="form-control" id="total" name="total" value="220.00"…
-
0
votes2
answers330
viewsQ: by placing plot value in dynamically created input
I have the following code: Total: <input type="text" class="form-control" id="total" name="total" value="220,00" disabled="disabled"> Data: <input type="text" class="form-control data"…
-
0
votes2
answers1165
viewsA: jquery validate does not validate within modal bootstrap
I’ll leave here the solution I found because I needed to recover the values via get or $id = $_GET['id']; which was to create an iframe and call the independent page as I used with Fancy.box in this…
-
0
votes2
answers1165
viewsQ: jquery validate does not validate within modal bootstrap
I’m having trouble making jquery validate work within the bootstrap modal using a dynamic link (I don’t know if this is the reason). When it is outside it works perfectly more within the same no.…
-
2
votes2
answers1374
viewsQ: Calling layouts within a modal
I have an application ready with its own layout, and within this layout I use the fancybox. Only now I am obliged to migrate to the bootstrap and I’m using the Adminlte-2.1.1 for fitting in with…
-
1
votes1
answer492
viewsQ: ajax post with dynamic input
I have a form with a input that is created dynamically, follows below: <tr class="linhas"> <td align="right">Inicio:</td> <td align="left"><input name="inicio[]"…
-
0
votes1
answer318
viewsA: datatables recover value not shown in table
After much searching I found a solution to this issue and I return here to share so that if someone else goes through this problem can solve. replace this: var endereco = $(nTds[5]).text();…
-
1
votes1
answer318
viewsQ: datatables recover value not shown in table
I have a table generated by datatables that shows name, document and phone. It works perfectly more I want to appear tooltip to show additional information, i even managed to show by taking the…
-
0
votes1
answer603
viewsQ: load ajax combo when opening page
I have the code below to load the cities: $(function(){ $('#cod_estados').change(function(){ if( $(this).val() ) { $('#cod_cidades').hide(); $('.carregando').show();…
-
0
votes2
answers2840
viewsA: Page number on all mpdf pages
I put your code here in mine and it’s working $mpdf->SetDisplayMode('fullpage'); $mpdf->AddPage('P', // L - landscape, P - portrait '', '', '', '', 10, // margin_left 10, // margin right 5, //…
-
2
votes1
answer6904
viewsQ: pick up select text and send jquery form
i made this function to send with jquery via post and have to get the value and text of select and one more value of an input type text. Follow the code below function SalvarRegistro(){…
-
3
votes1
answer215
viewsQ: Assemble news by grouping results by user class
I am developing a news system where a certain user class will be able to post one or more news for everyone to see it works perfect, more for a better view would like these messages to be grouped by…
-
3
votes1
answer1084
viewsA: add custom datatables column button
Good I want to put here the solution so that another user with the same problem gets a solution. first in search I added the id of the user in id_usuario as you can see below: $columns = array(…
-
3
votes1
answer1084
viewsQ: add custom datatables column button
I’m trying to add a button with the id from user to serverside datatables I have made several unsuccessful attempts, if anyone can help me I appreciate it. This is my datatables code:…
-
6
votes4
answers668
viewsQ: Retrieve dynamic input and insert into the bank with Procedure
I’m having trouble inserting incoming data from a dynamic input. My Procedure only inserts once, follows my code where I receive the data: $ddd = $_POST['ddd']; $userid = $_POST['userid'];…
-
0
votes2
answers2151
viewsQ: jquery percentage calculation
I have this code and put it in jsfiddle to facilitate understanding http://jsfiddle.net/opeta/L7e73zx2/ It makes a calculation of percentages by adding in the value of the purchase price and puts…
-
1
votes1
answer142
viewsQ: Migrate jQuery to jQuery2
I have a schedule in the version of jquery 1. * paging that is working well, only that the site is using jQuery 2 and since I don’t have much knowledge of this version of the library, I would like…
-
1
votes1
answer705
viewsA: Insertion in Mysql with radio button + <option> + input
@user11545 regardless of the person checking or you taking from the bank will always be entered the value of the input, select, checkbox that is marked. to get the value you send your form to a page…
-
3
votes2
answers2437
views -
2
votes2
answers452
viewsQ: help with form calculation
My first problem is that I have a select id "T4" which is multiplied by the dial input so far everything well works but I have to limit the result according to the value of select for example if I…