Interesting questions
-
1
votes0
answers207
viewsjQuery did not update the "live" input values
Hello, I am creating a RGB color selection tool with a slider input[type=range], but when I start mousewheel it doesn’t seem to update instantly: https://jsfiddle.net/AndreyAires/m3474ss1/1/…
-
3
votes2
answers62
viewsDoubt in the method declaration
Observe the following code: class Program { int marks; static int maxmarx = 50; void CalcularPorcentagem() { int porcento = (this.marks * 100) / Program.maxmarx; Console.WriteLine(porcento); } After…
c#asked 8 years, 11 months ago Mateus Binatti 401 -
0
votes0
answers33
viewsI can only access the first Fragment with tabs
After some time without updating my apps I have to change them to adapt to Admob 7.0.0. In two of them use fragments on tabs (one with two tabs and the other with three) and he always positions on…
-
-1
votes1
answer128
viewsSave values from a text file to an array
I’m trying to make a code where I need to store numbers from a text file in an array. The code I have is this:: #include <stdio.h> int main() { FILE *f; int v[10]; int N=0;…
-
0
votes0
answers13
viewsHelp with UPDATE considering foreign keys in MYSQL
Hello, good afternoon. I’m trying to make a data change on a table that needs to work as follows: I need to write a Query that UPDATE table 1, with the ID of table 2, but first, make sure to only do…
-
0
votes1
answer223
viewsHow to create this process
I have these two tables in the bank cadcha (Cadastro de chamadas) cadram (Cadastro de ramal) All calls made in a particular company will be saved in this table cadcha. The destination extension…
-
3
votes3
answers1120
viewsAlign visual components
I’m having trouble aligning the buttons/icons on my Active. I’m using relative layout to position the buttons, but when compiling it gets out of order. Follows the code: <?xml version="1.0"…
-
0
votes2
answers203
viewsCommunication between Code Behind and Viewmodel Xamarin
I have two pages created on Xamarin.forms, on the first page I have a list and on the second I have the details of each item selected previously. I send the selected item from the first page to the…
-
0
votes0
answers36
viewsLoop in Json [PHP and MYSQL]
I have a data visualization page from a bd table, one of the cells in this table in html is actually a loop. I want to make the inline edition, which I’ve used in other projects…
-
4
votes2
answers501
viewsHow do I determine the search path for Controllers and Views?
I’m studying ASP.NET Core MVC on a macOS. When I create a new project, the IDE automatically arrow my Views into a folder called "Home". If I change the name of that folder or change the folder…
-
27
votes3
answers14943
viewsA Base64 image loads faster than a url?
I am developing a page where I need to have the images displayed only after loading them. And, not to leave the space of the empty images, I thought to use some image of "Loader". So, I thought that…
-
2
votes3
answers247
viewsBackground Reponsivo
I’m having doubts about how it makes the background responsive. This is the Background. This is how it’s getting at 1024px Wide. I am putting in the Background-Size 100% Width, I wish that when the…
-
1
votes2
answers75
viewsScript using the <title> attribute displays the supplier and product key in <select> instead of their names
My code has a <script> who must display the name of the supplier and the name of the product in each <select> using the attribute <title>, only instead displays the value of the…
-
-5
votes3
answers73
viewsHow to close a Session in PHP
I’m having trouble trying to destroy the sessions, I tried the code below, there is some way beyond that? <?php session_start(); session_destroy(); header('Location: index.php'); ?> What…
phpasked 7 years, 5 months ago João Vitor 70 -
1
votes0
answers177
viewsPass Session with Node.JS
Hi, I’m having a hard time with Session in an application with nodejs and angular 4. I’m doing it this way: By entering the email and password on the login screen and giving Ubmit in the login form,…
-
-3
votes1
answer41
viewsWhy is my sql command not saving?
I am saving in the database , but time I click on save will not write repeated name that was what I put to validate ,e o botao não salva no sql <html lang="en"> <head> <meta…
-
1
votes0
answers78
viewsBlock coding
I’m trying to develop an application of Block coding. I found it difficult to develop this type of application. With the events below, I can identify when there is a collision between other controls…
-
3
votes1
answer561
viewsHow do I call a . dll and declare functions in C++. Net
I’m migrating a project to C++, but I’m having trouble calling . dll This is code: int LoadDLL (void) { char handle; //! Carrega a dll ... handle = LoadLibrary(L"c:\windows\system\minhadll.dll");…
-
0
votes1
answer45
viewsProblem with checkbox
When I try to check through the database if any record exists, mark the checkbox as checked, always returns me as unchecked. <?php $result_cat = $conexao->prepare("SELECT * FROM colecoes WHERE…
-
3
votes1
answer114
viewsFind the index of all occurrences in a jquery string
How to find the index of all occurrences of a string within another string with jquery? Example: String all "three sad tigers for three wheat dishes, three wheat dishes for three sad tigers." String…