Interesting questions
-
0
votes1
answer34
viewsSocket error in C recv(), send() // SERVER [CLOSED]
I am new in c and in the area of networks, went to create a code in c to put into practice the theory, however, after bindar and create the connect socket, any function like recv() or send() returns…
-
0
votes1
answer78
viewsColumn ambiguous
I have a problem with the code that I can’t understand. The postgres always points to the error _"column Reference "pro_codigo" is ambiguous"_, but I gave the proper "nicknames" to column…
-
-1
votes1
answer247
viewsconvert javascript code to jquery
How would this code look in javascript: var ctx1 = document.getElementById("GraficoDonut1").getContext("2d"); new Chart(ctx1).Doughnut(data1, options); legend(document.getElementById("lineLegend1"),…
jqueryasked 9 years, 2 months ago Hugo Borges 5,294 -
0
votes1
answer30
viewsHow to recover input value separately from Numbers with same class
Well, I’m having a little trouble getting the value entered in the input number of some cards I created... Basically, it’s repeating the value on all inputs of all cards All inputs are in the same…
-
6
votes3
answers4229
viewsCheck the running time of a Javascript function
I wonder if it is possible to know the running time of a certain javascript function.. This function does not need to bring external data, it can only handle form tags, set value, calculate fields,…
-
0
votes1
answer36
viewsWhat are the advantages of using a Current status in applications?
It is common that during certain moments an application goes off the air for an important update or for some reason it is already slow. Companies that have many services choose to use a status that…
-
0
votes2
answers1123
viewsAnimated Background in CSS
I’ve been researching in CSS how to put an animated background. In codepen what I thought didn’t work, I’d like to do something like this : https://codepen.io/vaibhavarora/pen/xmpxjp or this:…
-
1
votes1
answer717
viewsService, Model and Repository: where should logic, validations and possible external communication be?
I’m doing a small project for learning purposes using Laravel, this system revolves around two "models", Conta and Transacao. one Conta has name and balance, a Transacao has count_source,…
-
2
votes1
answer979
viewsExport CSV data via JS
I have a data set in the database in my back end, and I need to create a button on which the user will click to export this data in CSV format. But I have never done this type of event in J. Someone…
-
2
votes1
answer432
viewsHow to make paging inside a modal in bootstrap?
I have a modal in bootstrap that opens at the click of a button, inside this modal I want to display 2 contents: 1 form and 1 paragraph. However, I would like to paginate that within the modal, 1…
-
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…
-
1
votes1
answer235
viewsIonic push notifcation error
I’m doing an Ionic project to receive notifications (android) and I’m using the phonegap-plugin-push plugin. var push = PushNotification.init({ "android": {"senderID": "860498722229", icon :…
-
0
votes1
answer1130
viewshow to compare with javascript two datepicker fields
I need to compare two fields in my html that are with datepicker. Follow my code below: var inicio = $("#Periodo_De").datepicker("getDate"); var final = $("#Periodo_Ate").datepicker("getDate"); if…
-
2
votes4
answers3053
viewsWhenever the button is clicked a new square should appear on the screen
<button class='botao' id='btnCriar' onClick="gerarQuadrado()">Gerar novo</button> <div id="app"> <div class="box"></div> </div> <script> var btnCriar =…
-
6
votes3
answers37709
viewsRemove element from a list by key (key) and by value (value)
I have the following list my_list = [1,2,3,4,5,6,7,8,9] Let’s say I want to remove num 7 by value and/or key and keep: my_list = [1,2,3,4,5,6,8,9] How do I do?…
pythonasked 9 years, 8 months ago Alberto Pimenta 169 -
3
votes3
answers166
viewsDisable tab showing all results
I’m having problems with this code, because I want to register the case, however I want to remove the tab where all appear, want part of each selected! The first tab, is to show all (I want to…
-
-1
votes2
answers174
viewsProgramming exercise C
I made a structure in c that receives : code, age and marital status... How to make him count the number of singles, married and divorced.... # include<stdio.h> struct basededasos{ Int código;…
casked 6 years, 8 months ago DrunkMaster 1 -
0
votes1
answer110
viewsWhy is one method that uses polymorphism being called in place of another in case of inheritance?
Could someone explain why the output of the program is: Primate walking Mammal listening Man seeing. Shouldn’t be?: Primate walking Mammal listening Mammal selling Year: 2019 Banking: IDECAN Organ:…
-
1
votes1
answer75
viewsFunction to pick up days of the week
I am making a watch that also shows the days of the week, but I would like to be able to show the value with the full name. I even managed to do this by doing a lot of if, but I wanted to do a…
-
0
votes0
answers72
views