Interesting questions
-
2
votes2
answers128
viewsHow to display a list always sorted as new items are inserted
I am trying to implement a list, in which, each number typed is inserted and counted in sequence, as in the example below: lista = ['0'] while True: ean = input('digite aqui: ' ) lista.append(ean)…
-
0
votes0
answers48
viewsAs you fill in the fields, the data automatically appears in a div
It is as follows. I have a form which contains: Name, Age, Gender and City. I would like the user as he was filling out this form, the data would appear in another div automatically. The same that…
jqueryasked 8 years, 7 months ago user24136 -
2
votes2
answers562
viewsChange the color of a box in the horizontal menu
I’m making a horizontal menu and I want each element of this menu to have a 20px box. Now I want that when passing with the mouse by top that box change color. That’s why I thought the a:hover…
-
0
votes1
answer66
viewsError When Registering in Database
I’m getting the following error when trying to insert some data into the database: Unknown column 'F' in 'field list' In case the column and the type Enum and can receive’M', or 'F', testing…
-
2
votes1
answer718
viewsHow to create button in a Simpleadapter with event click excluding item
I set up a list in an android app that is a simple list using SimpleAdapter. What I need now is to delete the item from the list, but I don’t know how I would do it because I couldn’t get the…
-
-2
votes1
answer44
viewsHow to access the values of a private object in PHP?
I have the following variable: var_dump($bankAccount); Printing: Object(Pagarme Sdk Bankaccount Bankaccount)#35 (11) { ["id":"Pagarme Sdk Bankaccount Bankaccount":private]=> int(17929453)…
phpasked 7 years, 8 months ago Maykel Esser 598 -
2
votes1
answer561
viewsFormula Excel - Apache POI
I created an excel file using the Apache Poi API, in it I set one of the cells with a formula, but when I open the file I need to "enter" the cell with the formula so that it prints the result in…
-
0
votes1
answer70
viewsI’m having trouble with the smtplib
The code only works when the subject and message(body) of the email are written in a few letters, I have no idea what it might be. import smtplib import config def send_email(subject, msg): try:…
-
0
votes1
answer249
viewsIs it possible by latitude and longitude to know if the direction?
Guys, I’m sorry if you don’t mean the question ! It will be possible by the latitude coordinate, longitude know the direction of the example vehicle if it is to the north or south or east or west…
-
1
votes0
answers46
viewscondition to show data in combobox
Galera is the following I have two forms, one of development registration and another of process registration, and in the process has a ComboBox where it is pulled all the projects that were…
-
6
votes1
answer67
viewsIs there a correct way to pass parameters to search?
I am making a Restfull application and it occurred to me the following doubt: "Am I passing parameters in the correct way for this method?" The method in question is this:…
-
5
votes2
answers156
viewsWhat is the correct way to do an Replace in a string-like variable?
I need to create a folder on the file server and realized that the variable that receives one of the information is coming with invalid characters ( / : * ? " < > |) for creating a folder on…
-
0
votes1
answer63
viewsHow to work with Javascript objects?
I have two objects, objeto1 and objeto2 and I want to assign all the values of objeto1 at the objeto2, but when I use objeto2 = objeto1 and change some value of objeto2 the objeto1 is also changed…
javascriptasked 11 years, 3 months ago Jedaias Rodrigues 6,718 -
-2
votes1
answer47
viewsSave button
Hello, I need someone to tell me how to make a system to save my points in java script, I will provide my html css and javascript, here are mine codigos: let add =…
-
0
votes0
answers69
viewsNavigation error with React Native
I’m developing an application in React Native with three types of browsing: Drawer, Bottom Tab and Stack Navigator. I entered these three types of navigation but shows the following error: He says I…
-
2
votes2
answers982
viewsLinearlayout Over Other Linearlayout
I have a layout in Android Studio that I would like to have on another layout, but I can’t do it in any way. I would like you to be on top, because it is a menu that appears when someone presses the…
-
0
votes1
answer46
viewsHow to maintain value in Html5 even when changing in F12 mode?
Follows the code: Html5: <button id="btnSave" data-id="1">Save Click</button> JS: $(document).ready(function() { $("#btnSave").click(function(e) { AlertSave($(this).data("id")); }); });…
-
2
votes2
answers1260
viewsCapture Json (Array) data and put into HTML
Guys, I’m having a hard time capturing the items inside an object on Json. Follow the code below to illustrate. var tipos = [ { "code": "258", "label": "Sapatos" }, { "code": "547", "label": "Kits"…
javascriptasked 8 years, 3 months ago Thiago Maia 121 -
1
votes1
answer75
viewsSplit String into blocks, considering only letters or text in square brackets
If I have a string like that: "Olá, o meu nome é [José Cavalo]" And I der split: {"Olá,", "o", "meu", "nome", "é", "[José", "Cavalo]"} First of all, we have a problem. At 0, we have "Olá,", and we…
-
2
votes1
answer89
viewsValidation Issues Upload Multiple Javascript Files
In the form, in an Input by selecting multiple images @using (Html.BeginForm("Edit", "RoomType", FormMethod.Post, new { enctype = "multipart/form-data", onSubmit = "return ValidateImagesUpload()"…