All Questions

2
answers

How to sort a table from A to Z?

I have an HTML table that brings information from the database. I would like to know if there is any way to sort from A to Z and vice versa and vice versa by clicking on the name of the column in the table? This data is not fixed, it is dy...
asked on 24.05.2016 / 18:52
2
answers

Is there a way to redirect to another page when I click on a div?

I have a div: <div class="col-lg-4 col-sm-6"> //Essa aqui <section class="panel div-border-red"> <div class="symbol red"> <i class="fa fa-eye"></i> </div>...
asked on 07.10.2016 / 19:22
2
answers

Add real Brazilian currency div

The script is adding, but only numbers. I would like to have the values with periods and commas. For example: 1,000.00 + 100.00 = 1.100.00 Does anyone give this strength there? Follow the code below: <script src="jquery_somar.js"&g...
asked on 14.08.2016 / 05:09
2
answers

Difference between ":" and "." in methods of a Lua table

I came across two different statements that left me confused. obj = {} function obj.Create(name) end function obj:GoGoGo(name) end What is the difference of the function declared with the . (dot) and : (colon)?     
asked on 08.12.2015 / 18:46
2
answers

Sizeof () or strlen ()?

sizeof() or strlen()? What's the difference between using them in char pointers? which is more appropriate?     
asked on 29.07.2016 / 20:23
2
answers

Validation without the "ModelState.isValid"

I have the following scenario: [HttpPost] public PartialViewResult Create(string dados) { var clienteViewModel = DeserializeJson<ClienteViewModel>(dados); if (ModelState.IsValid) { } // Não têm como validar....
asked on 25.11.2016 / 18:52
2
answers

Pointer changes address when exiting function

When performing a dynamic allocation of a vector or matrix in C, the pointer referring to this allocation changes address when leaving the function, whereas before it was pointing to the initial address of the allocated area and soon after the e...
asked on 09.11.2016 / 20:17
2
answers

How to transform an INI file into an Array? [duplicate]

How can I transform a INI file into a array into PHP? Example: [database] host = localhost password = sabe_de_nada_inocente port = 3306     
asked on 30.09.2016 / 19:51
4
answers

How to correctly return the calculation values with decimals in javascript?

I have following code someone could help as would be solution for that. var resultado =(parseFloat(126,79) + parseFloat(237,00)).toFixed(2); javascript result = 363.00 Correct value = 363.79     
asked on 16.11.2016 / 19:30
2
answers

Is it possible to do an INSERT INTO SELECT + other values outside of SELECT?

I need to insert into a table ACCESS some values from another table plus the time and the user who registered. I know that to get the data from the other table just do something like: INSERT INTO TABELA(ID, NOME, ENDERECO) SELECT ID,...
asked on 13.09.2016 / 16:52