Interesting questions
-
8
votes3
answers1426
viewsHow to take data from a tag and calculate?
It is possible I get a value within a tag <span></span>? Ex: <span> 5% </span> and calculate a discount at a value? Example: I want to get the value of 5% that is in the tag…
-
9
votes1
answer216
viewsPointer variable is declared null, but member function performs normally
Below follows an example of the code I’m trying to execute. //main.cpp #include <iostream> using namespace std; class A{ public: A(){} ~A(){} void teste(){ cout << "Teste" << endl;…
-
2
votes1
answer824
viewsPHP - Forward $_POST to another domain
Hello, everybody I have the following page: "xxx.com.br/pagina1.php" In this page1.php contains a form whose "action" is set to "yyy.com.br/pagina2.php" (another domain) I am managing to receive…
-
1
votes2
answers4711
viewsCalendar in PHP
I have a calendar in php and would like to know two things ! How to make the date start Monday ? (Monday 1, for example) and how to make Sundays appear in red. Here’s the code: <!DOCTYPE HTML>…
-
-4
votes1
answer558
viewsHow to read and display data in Android Studio?
How to read the data typed by the user in an Edittext and display in a new Activity in Android Studio? I’ve tried a few ways, but when showing it in the other Activity only appears "false".
-
-2
votes1
answer50
viewsHow to make a function that "calls" an html
I’m improving on html and Javascript while creating my own project. I don’t know if my question is correct, but I’ll be explaining it in the best way. I’m creating a tool to help combat turns in…
-
3
votes1
answer241
viewsConflicts between double tap and click. (jQuery and Hammer.js)
I’m trying something different, I would like to implement something similar to an Instagram feature: two tapas to give like. To try this, I am using the latest versions of jQuery and Hammer.js. I am…
jqueryasked 11 years, 11 months ago Caio Tarifa 2,251 -
1
votes2
answers488
viewsVideo view resizing to video size
I have a problem in my application, in the app I make a sequence of videos, but at the time I did the structure and inserted the video (it is not of much graphic quality so the app does not get too…
-
1
votes1
answer689
viewsSet colors patterns in materialize
I wonder if you have how to set a color pattern in the materialize framework, as by example is made in Material Design. This would avoid inserting the color of an element in each one Thanks in…
materializeasked 9 years, 4 months ago Tales Breno 369 -
1
votes2
answers1828
viewsLearning to use ENUM in Java
Good afternoon. I’m learning to use the guys enum in Java and facing some problems. First of all, I created my own enum as follows: public enum enumUpdateAction { NEW(0), CHANGE(1), DELETE(2),…
-
1
votes0
answers29
viewsSubreport with iReport in Java - The supplied java.sql.Connection Object is null
Hello! I’m studying iReport Design and started using Connection in my fillReport. So far, everything was fine. The problem is that, now, I started to use Collection, through the commands:…
-
6
votes2
answers4450
viewsHow to use openssl_encrypt encryption method?
It’s been a week that I search in everything that is site but I can not understand, I’m very curious about the use of this function but I can not find anything that explains in a simple way, someone…
phpasked 9 years, 7 months ago Otavio Fagundes 978 -
-1
votes3
answers63
viewsBusiness rule in a personal system
Concept of business rule They are statements about how the company does business. They reflect business policies. Organizations with this have policies for meet business objectives, satisfy…
business-ruleasked 7 years, 9 months ago HeyJoe 819 -
1
votes1
answer1882
viewsConcatenation of two chained lists in C
Given the TAD LISTA_ENC_NC_ORD, need to implement an operation that takes two lists and returns a list resulting from the concatenation of them, and that cannot have elements with the same value.…
-
0
votes1
answer578
viewsCannot find a differ supporting Object '[Object Object]' of type 'Object'. Ngfor only Supports Binding to Iterables such as Arrays
Good morning, I am trying to list data from an API and this error is occurring: Someone could help me, I’m not able to solve, follow the codes: HTML code: <div> <mat-list>…
angularasked 6 years, 1 month ago Leonardo Pereira 1 -
2
votes2
answers786
viewsWhat is the simplest way to print an idented javascript text to html?
have to print this in an easier way? public static void swap(int[] list, int i, int j) { /* This method simply takes an array and swaps its values at index i and j */ int temp = list[i]; list[i] =…
-
0
votes1
answer672
viewsSetting Textbox for Currency
I’m trying to set up a TextBox in a Windowsform to display the value of the field in the currency format. I can only do that in the Enter event of the field with the following code: private void…
-
2
votes1
answer31
viewsHorizontal scrollbar being rolled by vertical scrollbar
I’m doing a little test with the scrollbar of Chrome Canary 74 on Android. I read a lot about it, but I didn’t get results for the mobile device, and since I don’t have a pc, I use Web Aide to…
-
2
votes1
answer214
viewsCount and group by day range
SELECT loc.loc_pac as registro, datediff(dd, pac.pac_nasc, getdate()) as 'dias' from loc with (nolock), pac with (nolock), str with (nolock) where loc.loc_pac <> '' and (loc.loc_pac =…
-
0
votes1
answer139
viewsI cannot invoke "innerHTML" to change the HTML of an element. Why?
In this code I am testing for the user to put two notes and the JS run the calculation and print on the screen for the user to see. However, I’m not being able to make the average result appear on…