Interesting questions
-
5
votes1
answer1046
viewsHow to take data from a list only when there are two equal codes
Currently I can only take different data from two lists, for example: Lista X Código 1 Código 2 Lista z: Código 1 Código 3 I can only get the code 2 and 3. Now arose the need to take the same data,…
-
0
votes1
answer64
viewsHandling PHP compressed files
I need to solve the following problem with PHP: the user will upload a zip file containing hundreds (possibly thousands) of files. I must unzip these files into a certain directory and after that I…
phpasked 9 years, 9 months ago ldeoliveira 2,015 -
5
votes3
answers190
viewsCSS catch siblings before element?
Well basically, I have the following structure, where when the hover is activated in an element, the brothers on the right must receive an exclusive style, while those on the left must receive…
-
3
votes2
answers61
viewsDefine property based on others during object creation
I am making an attempt to 'name' popular with the result of the first two variables, but without success. var pessoa = { nome: "Joao", sobrenome: "Silva", nomecompleto : nome + sobrenome };…
javascriptasked 11 years, 4 months ago Joao Paulo 11,760 -
0
votes0
answers12
viewsDynamodb update_item: How to add an element to an attribute of an existing item
Hello, I’m new here in the OS and also with Dynamodb :) - My question should be very simple for the gurus here in the OS, I hope I am not being negligent to the documentation with my question, but I…
-
0
votes1
answer130
viewsShow xml nfe tag value in datagridview columns
I have a little problem because I am reading the tags of an xml of Nfe, but I am not able to show in the columns of datagridview, my code is reading the correct tags, but do not notice anything in…
c#asked 7 years, 6 months ago Junior Guerreiro 617 -
0
votes1
answer117
viewsHow to limit the number of decimals in Dart?
How do I limit the amount of decimals displayed? How do I set this value 15.592783505154639Kg equals 15.59Kg using Dart? import 'dart:io'; main() { CalculoIMC(); } CalculoIMC(){ stdout.write("Digite…
-
0
votes3
answers2912
viewsCreate Trigger with update setando field through a function
I’m looking to use a trigger to update the field of a table whenever there is an Insert in this same table. The problem I’m having at Trigger is that the update doesn’t work, it follows Trigger:…
-
2
votes2
answers121
viewsExtract a string after a javascript delimiter?
I have the following return: 7100-1156 As a result I would like to always extract the second part of the string: 1156. The example code does this but the problem is when the value of the first part…
javascriptasked 6 years ago Andre Cabral 45 -
0
votes1
answer217
viewsDeclare a variable using var or the type itself?
I started studying Dart and came across this question. In java, it is always used the type in the declaration of a variable. However, Dart allows you to declare both using "var" and the variable…
-
4
votes4
answers14424
viewsValidate form before sending
I have an HTML page with an email submission form. I need to check on the same page if the fields were filled in or not at the moment the user clicks the Submit button. Apparently he is ignoring the…
-
0
votes1
answer32
viewsVisual Correction Studio
How to fix this formatting? Example, visual use Studio and everything I’m writing is being separated this way: function Menu() { return ( < header > Revista < /header> ); } No way…
-
0
votes2
answers8176
viewsCPF Mask and Date of Birth Asp.net MVC
My question is this: I created a simple CRUD and I want to use mask in the fields date of birth, CPF and phone. Function code create of the CRUD: @model WebApplication1.Models.Bdfinal @{…
-
2
votes3
answers127
viewsAJAX - Appearing Ivs
How do I get one div on the return of AJAX, for example: I type in input a user, and send the data by AJAX thus: $("#botao").click(function(){ var xprocesso = $("#segundo").val();…
-
4
votes2
answers5956
viewsHow to run a Python command with JS?
I have a button and when clicking it I want js to execute a . py command on the server side. How do I do it?
-
1
votes0
answers26
viewscreate dynamic javascript combobox
I wonder how I do to have four combobox, in which the first would be the options of states, and after selected the state the second combobox would automatically load the municipalities belonging.…
javascriptasked 10 years, 8 months ago Fabiano S Prazeres 11 -
19
votes7
answers25439
viewsHow to convert a JSON response to a C#object?
I’m making a request and getting a JSON like this: { "id": "1000000000000000", "name": "BrunoLM", "first_name": "Bruno", "last_name": "X", "link": "http://stackoverflow.com/users/340760/brunolm",…
-
1
votes1
answer30
viewsDjango: How to prevent date field conflicts in admin
In a record of a Vaga inside the Django admin I have two fields: data_inicio and data_fim. But I wish it wasn’t possible to put one data_fim less than data_inicio, and I don’t know how it can be…
-
1
votes1
answer548
viewsCheck whether double variable is empty or numeric
How can I check if the variable a, b or c were not informed, and if in case they were not informed return all the code ? How can I also check if the letter "x" for the variable was entered in the…
-
1
votes4
answers239
viewsEmpty character exiting HTML
The page is: http://www.hotplateprensas.com.br/_required/Email2.php The code is: <?php require_once "../_controlls/_conexao/Conexao.php"; require_once "../_controlls/_util/PhpUtil.php";…
phpasked 9 years, 2 months ago Carlos Rocha 1