Posts by Cassiano Mesquita • 74 points
6 posts
-
0
votes1
answer192
viewsA: Datatablet JS Export with Multiline
Subtle line: { render: function(data, type, row){ return data.split(", ").join("<br/>"); } For, { null, render: function(data, type, row){ return data.split(", ").join("<br/>"); } The…
jqueryanswered Cassiano Mesquita 74 -
6
votes2
answers1060
viewsA: Close the Bootstrap modal after registering
subtle: $("#myModal").hide(); for: $("#myModal").modal('hide'); If I’m not mistaken, that’s it
-
0
votes4
answers5888
viewsA: Select with multiple Left Joins Sql Server
Create an ID to identify the type of person and in the programming use this id to select the information. Example: My Idpessoa is 555 and my Idtipopessoa is 2 (Physical person): if(IDTipoPessoa ==…
-
0
votes1
answer78
viewsA: Send values to the database
Do the following, remove the form from the page and make each note have its own form, to do this add the form tags inside the foreach(), so when the user clicks to save the note 1 will save the form…
-
0
votes2
answers452
viewsA: How to send database data to view using ajax with codeigniter 3
First your logic this confused, let’s go in pieces: Create a function that returns a JSON with product data, only data. Use the function .on('click') to load the values inside the inputs:…
-
-1
votes5
answers1205
viewsA: command given ajax json for php
Try to use as follows: $.ajax({ type: "POST", url: "http://localhost/moodle/my/index.php", data: function (data){ data.data = jason; data.envio_resposta= true; }, success: function(data){…