Interesting questions
-
0
votes1
answer636
viewsScript to disable and enable compos with "READONLY" from a Checkbox
I need a script that enables and disables a field with READONLY from a checkbox I don’t know how to program in javascript, How do this script <input readonly="" type="text" name="xx" value=""…
javascriptasked 9 years, 8 months ago Fabio Henrique 2,156 -
0
votes1
answer159
viewsUpload several input files via Ajax
Hello I need to upload files via ajax, where each event of clicking the input file, I already upload the corresponding file. I do not know how to do this dynastically, since what changes between a…
-
1
votes4
answers259
viewsError While Consuming Api at Angular
Good Afternoon I’m consuming an api (Pokemon), But it doesn’t work, Pokelistgemcomponent.html:6 ERROR Error: Cannot find a differ supporting Object '[Object Object]' of type 'Object'. Ngfor only…
-
0
votes2
answers52
viewsProblems with Javascript
Good guys, I’m having problems with my javascript. I have two functions and when I add one more it stops working all. The two functions are these: function calculaResultado(x){ console.log(x); a =…
javascriptasked 7 years, 8 months ago Bry 21 -
0
votes0
answers55
viewsundefined index
I have a mistake of index indefinite, I’ve rewritten the code several times and I never find the why of the mistake, if anyone can help. I’m sorry if the question is badly formatted, because I’m new…
-
2
votes2
answers64
viewsWhy can’t I query for an added object before Savechanges?
I need to add several objects to the database and some objects need another specific object that I added earlier. When I make a query to get the object, it comes null. Example: var subItem = new…
-
7
votes3
answers145
viewsHow to embed one library into the other?
I have created a C++ game development library. Only my library needs another to display the images on the screen, the SDL2. So every time someone wants to use my library, they would have to link to…
-
0
votes1
answer149
viewsHide Ion-tabs Ionic 1
Guys, I have a problem with the tabs on the app. The application I’m developing has a chat screen and on this screen I want to hide tabs. I’ve tried using $ionicTabsDelegate.showBar(false); a tabs…
-
0
votes0
answers51
viewsCalculate and Recalculate
I made this function to find the filled notes and when I do onload calculates it correctly. When I use the onkeypress="somaNotas" function that is in each input it calculates all wrong. Does anyone…
-
1
votes1
answer45
viewsHow to migrate Posgresql Script to Mysql Script?
I have this database in Postgresql Script, how to convert to Msyql in order to create this database in this database ? -- -- PostgreSQL database dump -- -- Started on 2010-07-03 09:40:14 SET…
-
0
votes1
answer47
viewsError sending package with scapy
Guys I’m taking the course Python for Hackers, but I came across a problem in the class about HOW TO CREATE YOUR FIRST PACKAGE. I can create the package, but I can’t send it through mr(), sr1(),…
python-3.xasked 7 years, 6 months ago Gustavo Luiz Bispo dos Santos 3 -
0
votes1
answer26
views(Function) Check filled fields return previous action
I have a function that checks whether the fields in my form have been filled or not picking by their value. If certain fields have been filled in and an action appears on progress. In this role I…
-
4
votes8
answers1132
viewsCan you use a variable above when it is declared below?
I have some includes on a PHP page, with inclusion of other pages for user friendly URL, etc. I thought of using Global variables and even constant, but it’s not working. Does anyone know if there…
phpasked 11 years, 11 months ago Tiago Boeing 830 -
1
votes1
answer129
viewsOrganizing Laravel Migrations into a subfolder is bad practice?
I have created several Migrations that are related to each other, for having foreign keys and etc... but I don’t want to mix them with the Migrations related to auth, Permissions and etc. My…
-
1
votes1
answer104
viewsHow to go through Checkbox in automatically generated Webforms with Jquery
How to scroll through several Checkboxes in the C# Button Click event where these Checkboxes were automatically generated with Jquery ? The automatically generated Checkbox HTML is this: <div…
-
2
votes0
answers22
viewsHow to assign the value to input file before saving? When I save the cropped image gets original size
<?php if(isset($_FILES['item_foto'])){ $formatoPermitido = array("png", "jpeg", "jpg", "gif"); $ext =…
-
3
votes1
answer566
viewsError closing form with Tacropdf in Delphi
This "blessed" component, unfortunately I need to use it, it happens that whenever I try to close the Form it closes, but always gives a Accessviolation. There’s nothing in Form but a Tacropdf and a…
-
4
votes1
answer2366
viewsSQL Count and sum
I have 6 SQL codes and all search in the same table, it looks like this: +-----+-----+-----+ | A | B | C | +-----+-----+-----+ | 1 | 1 | 1 | +-----+-----+-----+ | 2 | 1 | 5 | +-----+-----+-----+ | 3…
-
0
votes1
answer168
viewsWhat does the syntax " bool Operator < " mean in C++?
I looked for that reference (bool operator < and bool operator ==), I found some explanations, but I didn’t understand it very well. How this syntax works? Code: bool operator < (nome a, nome…
-
1
votes1
answer45
viewsHow to take the whole result of a for, and make it become a single variable
Let’s say I have one for! And that the result of the is is " 1 2 3 4 5 6", only each number is a line!! How to take all these lines and make it become a single variable?
phpasked 10 years, 4 months ago ivan veloso 2,900