Posts by RXSD • 2,394 points
79 posts
-
2
votes2
answers64
viewsQ: Removing dynamic rowspan lines in table
I have an element <table> to which I insert lines with <td> whose rowspan varies according to the value entered in input. I would like to remove lines at the click of the button Removes…
-
1
votes2
answers153
viewsA: Display the result of a calculation on the screen
welcome to Stackoverflow! To make it easier for you to understand, I made some changes to your source code so that your page is not reloaded, making it difficult to fill the paragraph with the text…
-
-1
votes2
answers381
viewsA: Css does not stay in HTML
This is Pedro, welcome to pt.stackoverflow! When we refer to a stylization CSS external type (the way you are using), the attribute href indicates the path to which file CSS should be read and…
-
3
votes2
answers168
viewsQ: String.split() function with separator containing brackets and asterisk
I have the following code: String teste = "meta[[*]]etapa[[*]]especif[[*]]unid[[*]]qtd[[*]]01/01/2000[[*]]02/02/2000[[**]]"; String[] split = teste.split("[[*]]"); for (String string : split) {…
-
-1
votes2
answers92
viewsA: Text appears fast
welcome to the stackoverflow! The riddle that is passing unnoticed by your eyes is as follows: window.addEventListener('DOMContentLoaded', (event) => {... But why RXSD? This command line adds a…
-
6
votes2
answers1132
viewsA: Insert sequence Oracle
Hello Felipe! Making a quick translation of the error presented, ORA-00911, we know that invalid characters have been found in your query that is preventing its execution. However, I found another…
-
3
votes1
answer621
viewsA: Prime Numbers in JAVA
Hello ayanami001, welcome to en.stackoverflow.com. I analyzed your code and noticed that the problem is in the following condition: if (numero < contador) { ... I don’t know if you noticed, but…
-
1
votes1
answer80
viewsA: Calculate total of identical Ids
What you want is to return the total amount of unidades without impacting your current query by continuing to return the 4 records (taking into consideration its clause WHERE), right? This is…
-
-1
votes3
answers681
viewsA: SQL-Select To calculate seller commission
Perform the following SELECT: SELECT funcionario.CODFUNC, funcionario.NOME, funcionario.SALARIO, funcionario.SALARIO * 0.1 * (SELECT COUNT(*) FROM atendimento WHERE atendimento.CODFUNC =…
-
1
votes1
answer306
viewsQ: Unknown Spring Boot Error
When creating a Maven project by https://start.spring.io/ and import it in Eclipse IDE, is displayed 1 error in the view problems eclipse. The problem is that in description, no hint is…
-
3
votes1
answer567
viewsQ: Parameterize functions to receive functions
What are the advantages of parameterizing Dart functions? void main() { metodoSemFuncao(); metodoComFuncao(funcao); } void metodoSemFuncao(){ funcao(); } void metodoComFuncao(Function func){ func();…
-
0
votes5
answers153
viewsA: Call the Java method
You were trying to concatenate with a String the call of a method of the type void, i.e., that does not return any value, as follows: System.out.println("O telefone pode ligar?" + this.ligar());. If…
-
2
votes1
answer921
viewsA: Read two numbers in a single line in Portugol Studio
In Portugol, the types of data which we use to learn programming logic are of the primitive type(making an analogy with other programming languages), that is, they do not represent a Class and,…
-
2
votes3
answers485
viewsA: Aid in SELECT DISTINCT
Using SELECT DISTINCT you will return only a single value for each customer(CD_CLIENTE) if it happens again, even then, would not solve your problem. How you want to recover the client code along…
-
0
votes1
answer97
viewsQ: Types of breakpoints in Eclipse
I believe that many who use or have used eclipse have already noticed that there are several types of breakpoints existing in it. The ones with the largest apparitions are similar to this: ,…
-
3
votes2
answers299
viewsQ: Error calling PROCEDURE in SQL Fiddle
When making a call PROCEDURE in SQL Fiddle, the following error is displayed: DDL and DML statements are not allowed in the query panel for Mysql; only SELECT statements are allowed. Put DDL and DML…
-
1
votes2
answers224
viewsA: How to load 10 records from a Java list?
You will not automatically return the 10 bank records(for this, you would need to change the query), however, it is possible for you to capture these 10 records from lista complete. Use the…
-
1
votes2
answers784
viewsA: Email form validation with javascript
Analyzing your code, I found two problems that are preventing the functioning of your code. How you capture the value of the elements included in your formulário. The variable erro in the stretch:…
-
1
votes6
answers6000
viewsA: How to get the column properties of a table?
"I would like to know what is the size of this field" you can use the property COL_LENGTH which receives two mandatory parameters. The first is the table you want to check and the second is the…
-
1
votes3
answers170
viewsA: Generate random value with formatting
function gerarNumeroAleatorio() { var texto = ""; var valores= "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; var tamanho = 9; for (var i = 0; i < tamanho; i++) texto +=…
-
2
votes1
answer81
viewsQ: Removing data with TRUNCATE wouldn’t be DDL command?
Reading the OCA Oracle Database SQL Exam Guide(1Z0-071) I came across the following definition for the TRUNCATE on the topic of DDL(Data Definition Language): Removes all the Rows-in other words,…
-
4
votes2
answers8696
viewsA: Error when pushing to Github
Welcome to en.stackoverflow.com. Starting from the premise that you have made the configuration of SSH(key step in using Git) on your machine with the repository Git. Let’s look at your scenario and…
-
1
votes2
answers90
viewsA: How to Shoot Pop Up after Copying Text
As he did not make explicit how the exhibition would be pop-up, I’ll bring you some options to suit your proposal. The first and simplest is to alert the user using the command alert(); of…
-
1
votes1
answer494
viewsQ: Property col-Xs does not work
I’m developing a website using Bootstrap and HTML, I’m gonna make you flexible for the desktop and mobile platform. However, I cannot understand why the property col-xs(phones) not work. Follow the…
-
1
votes2
answers73
viewsA: How to recover the class of a div by clicking on it?
Brought a small example to retrieve the attribute className of the clicked object. function recuperarClasse(obj) { alert(obj.className); } <span class="minhaClasse"…
-
0
votes2
answers101
viewsA: Limit typed number
It also blocks when you type into a field using the attribute max, but the blocking action is only validated when you are calling the action of Submit in your form, if the value is above the limit…
-
2
votes1
answer55
viewsA: How to decode string on PHP page
I believe your problem is related to 2 charset's in the scope of your file .php. Try to remove the charset=utf-8 existing in the header and maintain the echo utf8_encode($string); or try to change…
-
1
votes3
answers2246
viewsA: How to disable a link semantically while maintaining accessibility?
I believe that disabling the redirect would be impossible, however, you can use some techniques to get around this situation. At first I imagined changing the class of your attribute <a> in…
-
0
votes2
answers503
views -
2
votes2
answers2648
viewsA: Creating a simple database with NOT EXISTS
The Error Code 1050 is given by the account that there is already a table with the same name that you are trying to execute in your query. There is another way to create tables without this kind of…
-
0
votes3
answers769
viewsA: Table button to update the row
I created two examples to facilitate your understanding, in case there are still doubts. 1: If in your table there are only the two columns mentioned Enrollment and Knob, you can pass the value of…
-
7
votes2
answers1087
viewsA: How do I identify if a link was opened by an iframe in a new tab?
When it comes to iFrames, should be considered a decisive factor for the progress of your problem. The Policy of the same origin(SOP). [1] [2] A web browser allows scripts contained in a first page…
javascriptanswered RXSD 2,394 -
2
votes4
answers525
viewsA: Write inside a div with a function
To fit your code, you can use the command .innerHTML to enter the value of your variable soma giving a document.getElementsByClassName to capture the desired element. Adapt your code with the…
-
7
votes3
answers931
viewsA: How to query with Count
I read your question a few dozen times to understand your problem, I hope you’re on the right track. Using the clause count(*) got the amount of records for each query, and in the clause HAVING I…
-
1
votes4
answers720
viewsA: Change comma per point
Use the following code: <html> <body> <form name="calcform" method="post" action=""> <input type="text" name="visor" id="visor" value="" onKeyPress="substituiPonto()"/>…
javascriptanswered RXSD 2,394 -
2
votes2
answers1011
viewsA: Msg 8114 error in SQL Server while performing query
When I started to analyze your query: I thought there might be something wrong with CONVERT(VARCHAR, r.data, 121) because there is no lenght(optional), I did a search (although there is nothing…
-
4
votes2
answers3180
viewsA: Finish process and open again by . bat
Execute the following code bat: taskkill /F /IM ACCA.exe ping 127.0.0.1 -n 10 start c:\exe\ACCA.exe The ping serves as a sleep( I did not find the function of Sleep in the bat) for some cases of…
-
2
votes3
answers1328
viewsA: how to check the <input type=date> in js?
function validarData(){ var data = document.getElementById("nasc"); if(data.value == ''){ alert("Data não preenchida!"); return; } } <!DOCTYPE html> <html> <head>…
-
2
votes2
answers169
viewsA: Recover value from input data
How to recover input data value? Making a brief analysis of your code vi that is structured correctly, however, in the second variable dataFim you’re giving a document.getElementById('dataFinal'),…
-
0
votes2
answers1682
viewsQ: Is it possible to have a round button without changing the android:background attribute?
I have in the directory res>drawable>fundo.xml the following code: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"…
-
3
votes3
answers1494
viewsA: Why is Python so current?
Only complementing a part of the response of @Maniero, where he makes a comparison on the language Java and the Python: Java is much more used than Python There is a website of a company of quality…
-
1
votes2
answers626
viewsA: How to change the title color of the browser tab?
How to change the title color of the browser tab? Is not possible. The title is rendered by the browser, so you would have the pending some browser that would render some kind of styling for the tag…
-
3
votes2
answers106
viewsA: Infinite Loop when reading Scanner values
Change your code and add the entered value to a variable to solve your problem and avoid duplicate call from Scanner sets() that have multiplier, Ex.setTotal(lerInfo.nextInt()*[multiplicador]); if…
-
3
votes2
answers61
viewsA: Basic doubt about function diff Assoc - PHP
Would anyone know the reasons why number two doesn’t appear on Array printing, if types are not the same? The number 2 does not appear in your print_r precisely because of the cast (String) that the…
-
0
votes2
answers1345
viewsA: converting numbers into Select Oracle hours format
How can I make a select showing the data in the format of time 13:30? As you already own the values existing in the bank and guarantor that they are only 4 numeric digits in the format of hh:mm and…
-
8
votes1
answer329
viewsQ: Importing the java.lang. package*
Adding the studies in Java I came across a package so much that special, the java.lang, where the author of the book mentions that we do not need to perform the import of that package. There’s a…
-
2
votes2
answers109
viewsA: Click using Webscraping with Selenium
I found that this same button has a class="btn btn-block btn-primary", you can use the class as parameter of the second click to solve your problem!
-
0
votes2
answers128
viewsA: How to handle an address base
I believe what you need is to use the command LIKE in your sql query. As there are different forms for the text inserted in the street patio column, you could make use of the command mentioned…
-
2
votes2
answers789
viewsA: Take the largest value from a Mysql column
You can use the CASE WHEN to solve your problem by performing the consultation as follows: SELECT Nome, Turma, CASE WHEN Nota1 >= Nota2 AND Nota1 >= Nota3 THEN Nota1 WHEN Nota2 >= Nota1 AND…
-
0
votes2
answers267
views