Posts by Hendrik Araujo • 91 points
7 posts
-
1
votes1
answer105
viewsA: Data-Table does not work with Codeigniter
Selector is wrong, exchange ". table" for "#table" $(document).ready(function(){ $("#table").DataTable({ "sScrollY": "400px", "sScrollX": "100%", "sScrollXInner": "100%", "bPaginate": false,…
-
1
votes1
answer464
viewsA: javascript does not load image
drawImage is spelled wrong... c.drawImge(img, x,320, 180, 80); should be: c.drawImage(img, x,320, 180, 80);
-
0
votes2
answers156
viewsA: I cannot capture the post by webapi c#
Try it this way: var objFornecedor = { ID_FORNECEDOR: 38, NOME: "cleverton teste", CNPJ: "546546546546", ENDERECO: "rua c", BAIRRO: "novo teste", CIDADE: "serrinha", SITUACAO: "1", DATA_CADASTRO:…
-
0
votes4
answers5546
viewsA: SQL query to get all records from last month but until the current day
declare @hoje datetime set @hoje = '20151015' declare @dataend datetime set @dataend = DATEADD(MONTH, -1, @hoje) declare @datainit datetime set @datainit =…
-
1
votes2
answers622
viewsA: Change the value of a parameter passed to a function
You can use an Hidden field to save the value of your counter, manipulate with javascript and send to the backend with ajax or post. <?php $contador = ''; foreach ($programas as $key =>…
-
2
votes6
answers886
viewsA: Regular expression to grab the background-image url
It can be done like this: var regex = /[-a-zA-Z0-9_.]*.png/g, results = [], html = $('div').css('background-image'), match; while(match = regex.exec(html)) { results.push(match[0]); }…
-
4
votes1
answer580
viewsA: Error connecting php 5.5 to SQL Server
1) Install the ODBC driver package 11. Link: https://www.microsoft.com/en-us/download/details.aspx?id=36434 2) Change the connection code: $servidor = "MEU\SQLSERVER"; $basedados = "novo"; $usuario…