Posts by Tafarel_Brayan • 415 points
19 posts
-
0
votes2
answers234
viewsA: How to show a json with jQuery and PHP?
Try it this way $.ajax({ type: 'post', data: $(this).serialize(), dataType: 'json', url:'simulacao/dados.php', success: function(data){ $('#resposta').append(data[0].total_direta); } });…
-
0
votes1
answer73
viewsQ: Relationships between PHP Models
Hello! I am developing a miniframework, for my projects, and tbm create more knowledge about object orientation in PHP I created a MODEL where it is a big part of everything, and my classes extend…
-
0
votes1
answer171
viewsA: Jquery with dynamic html code
Instead of wearing it like this: $(document).ready(function(){ $(".option-aditivo h3").on("click",function(){ alert('teste'); var id = this.id; var frase = this.title; $("<span…
-
2
votes0
answers139
viewsQ: RFID-RD522 with Python
Good morning guys!! I’m trying to connect a module RFID with PYHTON in the Raspberry B I followed the following tutorials:…
-
6
votes3
answers2944
viewsQ: What is the best way to enter a large amount of records into the database?
Hello, I am creating an application where I need to constantly consult a spreadsheet, take the data from it and insert in the database (Mysql). The point is that these spreadsheets will always have…
-
0
votes2
answers853
viewsA: Datepicker does not work
I was able to solve it this way... $(".inserirItens").on('click', function() { var inputs = "aqui eu defino o html dos meus inputs que vão ser adicionados posteriormente";…
-
1
votes2
answers853
viewsQ: Datepicker does not work
I’m building a system in which I have to register plane of steels, so far so good... At the time of registration there are three inputs, What, Who and When as shown below: The problem is when I…
-
0
votes4
answers819
viewsA: Show post with ajax
You can do as follows...by taking advantage of @Yosh’s code $(function() { $("button.enviar").click(function() { var mensagem = $("textarea.mensagem").val(); if($.trim(mensagem)==""){ return false;…
-
5
votes1
answer1187
viewsQ: Error in PDO query
I am creating a registration page where I have several tabs, as the structure below: <div> Aba 1 </div> <div> Aba 2 </div> <div> Aba 3 </div> <div> Aba 4…
-
4
votes1
answer1795
viewsQ: How to know if the e-mail has reached the Recipient?
I’m building a system (in PHP) that requires approvals, and with each approval I send a confirmation email to the user... I’m using the phpMailler, and he informs me at the end, that the server sent…
-
-1
votes2
answers1709
viewsA: Saving File in Sublime Text 3 in ISO-8859-1
Actually, my file had invalid characters like @kaduAmaral mentioned above, but unfortunately the sublime did not show me what were the characters. I had to open the file with the Notepad++, went on…
-
3
votes2
answers1709
viewsQ: Saving File in Sublime Text 3 in ISO-8859-1
When I try to save a file by changing the encoding for Western(ISO 8859-1), appears the following error message: someone knows the reason ??…
-
0
votes2
answers97
viewsQ: Attr with Internet Explorer
I have an application where I click on a table row, jquery takes the table row id, mounts a URL and put inside a href='' The problem is I’m not getting it to work on the attr.(), I already tested on…
-
1
votes2
answers377
viewsA: Checkbox is not checked
I got... the table I was talking about was loaded according to a < select >< /select > only that I called the change as follows outside the ready $(document).change("#fluxo",…
-
-1
votes2
answers377
viewsQ: Checkbox is not checked
I have an application where a table is dynamically loaded via ajax, and within the table there is a condition, if the condition is true I have to load a checkbox next to each name that is loaded,…
-
3
votes5
answers36368
viewsA: Take value from an attribute in td
I was able to solve by placing instead of an attribute, a class called "name" in the td with the person information. The code is as follows: $(document).on("click", ".btn-danger", function(){ var…
jqueryanswered Tafarel_Brayan 415 -
12
votes5
answers36368
viewsQ: Take value from an attribute in td
I have a dynamic table where there are 9 columns In one of the last columns there is a button disapproval, and when I click on it, I wanted to take the name that is inside a td in the same tr…
jqueryasked Tafarel_Brayan 415 -
2
votes1
answer939
viewsQ: Update in the Marker Coordinates database
Here’s the thing, I have a map where several dots are generated, thus tracing a route... Only now I need to edit these points by the map itself, like I have to do it in a way that I move them…
-
2
votes1
answer943
viewsQ: How to place *Bootstrap* (`glyphicon-bootstrap`) icons in the Yii framework menu
I am starting a project in the company where I develop, and we are being thank you using the Yii Framework along with the Bootstrap, but I’m not getting the icons of Bootstrap (glyphicon-bootstrap)…