Posts by Guilherme Costa • 219 points
18 posts
-
0
votes1
answer17
viewsA: Mariadb returns null with between dates
I downgrade the mariadb and solved.
-
0
votes1
answer17
viewsQ: Mariadb returns null with between dates
Someone already had this problem after updating Mariadb, it seems that he ignores the between... On my server these schemas returns null do not know why. Has this ever happened to someone there ?…
-
0
votes0
answers21
viewsQ: Creation of multiple zip files
I’m having a problem in PHP/Laravel to create multiple zip files synchronously, I copy all commands that are generated and run in Shell, it performs beauty, but when step to PHP run only generates…
-
1
votes1
answer19
viewsQ: Like the second cell in the last column?
Whoa, guys, blz? How to line up this table? It is giving way here the Browser is not recognizing that has 8 lines, and with this he is throwing the second cell to the right. <table class="table"…
-
0
votes1
answer998
viewsQ: How to add Padding in Select
I put a 30px padding, the select really gets bigger but it doesn’t appear anything. select.custom{ padding: 30px!important; -moz-appearance: none; -webkit-appearance:none; } select.custom option{…
-
2
votes1
answer3211
viewsQ: Can you pass the function name as parameter?
I’m racking my brain here for a solution whose is to pass function names as parameters to be executed. I have the function ShowModal in which its goal is to call other functions and objects. How can…
-
1
votes1
answer1357
viewsA: Remove Row Datatable by ID
This solved... var data_table = $('#dataTables-example').DataTable(); data_table.row($('#item_'+id)).remove().draw();
jqueryanswered Guilherme Costa 219 -
3
votes1
answer1357
viewsQ: Remove Row Datatable by ID
Is it possible to remove a line from the datatable by id? It’s that I have a confirmation modal asking if the user wants to delete. If you click yes, it calls a delete function.…
jqueryasked Guilherme Costa 219 -
0
votes2
answers3812
viewsQ: Convert Currency Values to Decimal?
I have three values that are being passed via POST to be recorded in the database, I try to record the data but it records with wrong values. The data is like this: "valor_liquido": "R$1.000,00",…
-
0
votes1
answer81
viewsQ: Convert Currency String to Floatvalue
blz? How can I convert a currency string value (en) to a float value in javascript. "10,000.50"
-
0
votes1
answer25
viewsA: Json does not click on lib Typehead
Solved, I changed the json key from "name" to "label" and then it worked.
-
0
votes1
answer25
viewsQ: Json does not click on lib Typehead
beauty? I have a Json whose structure has following: [{"id":1,"nome":"teste"},{"id":2,"nome":"teste"},{"id":3,"nome":"teste3"}] I want to use it in this type head code but it does not load... In the…
-
1
votes1
answer47
viewsQ: Filter Element Option
How do I get the object option with Jquery specifically this: $('#nome_responsavel').blur(function () { var id = $('option[value="'+$('#nome_responsavel').val()+'data-toggle=p"]').attr('id');…
-
0
votes1
answer68
viewsQ: Laravel returns Incorrect table Definition;
When running migrate here, the Variable is returning: Incorrect table Definition; there can be only one auto column and it must be defined as a key. Attached is the code I’m using to create…
-
0
votes1
answer418
viewsQ: Laravel does not return Belongsto
Opa galera I have two tables one with name Product and another with name Productocategoria. When I go to make the relationship in the models, only the Product object returns the products, the…
-
-1
votes2
answers82
viewsQ: Laravel does not return variable passed by with
Hello guys beauty? Why Laravel is not resuming the object in the view. Searching for the session I can get the data. /* ProdutoController */ public function deleta($id){ $prod = Produto::find($id);…
-
2
votes1
answer99
viewsQ: Radio Button does not change text
I created a simple project, and I realized that the RadioButton does not change the text when rotating the screen. I created 2 functions a call setText() and the other setText2() with different…
-
0
votes3
answers359
viewsA: How to assign a zero value to a variable(s) before running the program?
When starting the variable you can also put int x = 0. Or do as our friend said up there, setting directly in xml.
androidanswered Guilherme Costa 219