Posts by Paiva83 • 177 points
7 posts
-
1
votes3
answers73
viewsA: Javascript object always being created in growing order
The problem is not in the console.log Yes in the JS object that by definition does not maintain order, I found an alternative in Soen that can help you get the result you want. var groupedObject =…
javascriptanswered Paiva83 177 -
2
votes4
answers211
viewsA: Like a tag on a table element with jQuery?
I saw that already answered the question, but I am contributing with another solution of the problem, my answer was based on solutions found here: Find the smallest value of a table Row using…
-
5
votes2
answers190
viewsA: Class properties difference vs Instance
One point worth noting is the fact that an attribute in the class is shared for all instances, whereas the attribute in an instance is unique to the instance.
-
2
votes1
answer37
viewsQ: Length of content returning incorrect value
I have this code to check if the size of the user input is in accordance with some parameters, but the size it returns is always -1 the size of the input content, it would be the case to convert to…
-
3
votes1
answer244
viewsQ: Do not compile, error: use of Deleted Function
I have a simple project on codeblocks (windows), I’m using the library SFML, when trying to call a method I created where I pass the window and any object, in the act of compiling I get the…
-
1
votes2
answers46
viewsA: Element problem with char and number
First I advise always check if the type of element you will work is a number: function isNumber(n) { return !isNaN(parseFloat(n)); } If this function returns true, the value of n is a valid number,…
-
3
votes3
answers5094
viewsQ: How to download a file from a URL using C#
Developing a C# project I came across the following situation, I need to download files from some URL’s, what is the best way to do this? Would have some way to together the download implement a…