Interesting questions
-
3
votes1
answer129
viewsHow to call a variable within another function
I’m trying to call the name variable within the forward functionQuadro. But it’s not working. var pergunta = document.querySelectorAll(".pergunta"); var indiceAtual = 0; function iniciar(){…
javascriptasked 6 years, 2 months ago Christian Silva 31 -
2
votes1
answer480
viewsDifference between Dictionaries and Lists/Arrays?
I am trying to understand the concept of each and its differences. I want to understand in which situations to use one or the other.
-
0
votes1
answer3372
viewsError Call to a Member Function prepare
The connection to the bank is working perfectly, but the getList method returns me this error: Fatal error: Uncaught Error: Call to a member function prepare() on null in…
-
4
votes1
answer723
viewsApply a function using some columns of all rows of a Dataframe (r)
I have the following Dataframe : AVG_VOLUME AVG_RETURN VOL PRICE SPX Index 500000 0.01 0.08 2082 KR7000270009 6000 0.02 0.09 102 KR7005930003 7000 0.02 0.08 103 JP3266400005 8000 0.03 0.08 104…
-
2
votes1
answer985
viewsSave information from a form
Hello, I’m developing an online proof system as the following image: The questions come straight from the database (MYSQL) and so mount the proof displaying question by question, when the user marks…
-
0
votes0
answers21
viewsReturn xml with 406, Net Core 2.2, with Formatfilter?
I’m trying to make a comeback in mine Controller with FormatFilter .xml, but I get the 406. Controller: [HttpGet("xml/loja/{id}/{format}"), FormatFilter] [Produces("application/xml")]…
-
2
votes1
answer282
viewsHow to get a specific Json/XML object?
I need to get the contents inside <extract> to use in my application, but I’m not getting it. I tried to create a class with the same objects, I tried to use regex, but without success. I got…
-
2
votes2
answers5868
viewsGet all "marked" checkboxes in a dynamically generated list from jQuery
I have a modal in which it contains a list that is generated dynamically by jQuery via a callback of AJAX. The question is that I need to get the id’s of all the "checkbox’s" that were selected in…
-
0
votes1
answer47
viewsSelect 5 thousand rows from a table
I have a table with more than 5 thousand lines, where I have a column with year, nomes_municipios and another with values. I can get an average with a municipality that is represented on a line, but…
selectasked 8 years, 2 months ago Jonatã Paulino 135 -
1
votes1
answer2863
viewsFunction $(Document). ready() only executes once
I have an Asp.Net application that has a menu on a main screen that has 2 links, each to a page. When I click on the first link and upload the first page, the function $(document).ready() wheel set…
-
0
votes1
answer23
viewsError with mysqli and Ajax data
I’m having a problem fetching data using ajax. <script> //função buscar dados function buscarDados(id) { $(function () { $.ajax({ url: 'ajax/dados_aluno.php', type: 'POST', data: {id: id},…
-
2
votes1
answer829
viewsEdittext Android Accents
someone there knows how I can and if you can do the following, in my Edittext wish the user could not put accents. In case it would be better to treat the text and remove after typing?
-
0
votes1
answer241
viewsHow to share audio from raw internal directory?
I have several audios stored in the app’s raw directory and would like to share with other apps, such as Whatsapp, but I found very confusing the documentation on how to set up File Provider…
-
2
votes3
answers121
viewsHow to exclude a specific row from a base in R
I’m validating a base on R and I’ve identified some lines that don’t make sense so I’ll have to exclude some of them. What is the best way to delete lines containing 'N', 'P' and 'K' from the…
rasked 7 years, 1 month ago Natalia Soares 81 -
1
votes2
answers387
viewsProblems with if Else in Servlet
I’m messing with jsp. In mine servlet have if and else if and they both send to the same page, only with different values. However, when you enter the if(shows the result) and then when it returns…
-
0
votes4
answers115
viewsHow do I not allow "<" and ">" in my Insert
Well, I have an INSERT, and I would like to make sure that if someone typed in the text something with "<" or ">" that gave error when sending. Code: $autor_id = $_POST ["autor_id"]; $texto =…
-
6
votes1
answer10284
viewsHow to remove a remote branch in Git?
To delete a local Git branch, just use the command git branch -d <branch>, but how to get this same branch removed on the remote server?
gitasked 11 years, 3 months ago Fábio Perez 1,662 -
0
votes1
answer29
viewsSelect One Rendered Menu
Good afternoon, I have two selects one menu, one loads the states and the other I want to load the cities of that state at runtime, only I can’t, it doesn’t even load the page when I try to use…
-
0
votes1
answer107
viewsSelect more than one item with the select tag
I’m having a problem, the html tag allows the user to select only one option from the list, however I need to select more than one select item, how to do this using only JS? I need to select which…
-
2
votes3
answers63
viewsEvent at mouse click
I have the following script: $(document).ready(function(){ $('#toca').mouseenter(function(){ $('#msg-toca').show(); }); $('#toca').mouseleave(function(){ $('#msg-toca').hide(); }); }); How do I make…
javascriptasked 6 years, 11 months ago Randys Machado 91