Interesting questions
-
4
votes2
answers670
viewsHow can I make a variable wait for the user to press 1 of 4 buttons?
Well, I’ll try to be clearer. I have a variable called int tentativa and I want it to receive a specific value depending on the button the user presses. The buttons are btPedra[0], btPedra[1],…
-
0
votes3
answers131
viewsProblem when trying to add elements ckeditor
I have a page that carries a modal bootstrap. Within Modal there is a textarea with ckeditor. The problem when I try to add a table for example, I click on the add table icon it opens the dialog…
-
4
votes1
answer3271
viewsIs it possible to save the canvas as an image, and send it to the server?
Let’s say I have a code that looks like this: <html> <head> <style> .centralizado { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); } </style>…
-
-2
votes1
answer180
viewsC# Generate random and unique number, check the database if any equal number has already been generated and if you have to generate another number again
I’m developing a system where I need to generate one random number and single and write to the bank, this system will run every day generating new numbers based on business rules. With the help of…
-
3
votes1
answer214
viewsProblem removing at the beginning in a doubly chained list
Hello. When I try to use the "remove" function to remove the first element from the list, apparently nothing happens. But, soon after using the function removes and try to insert a new node in the…
-
0
votes0
answers117
viewsBug CSS Chrome, IE and Firefox
I’m not able to understand a bug between browsers. See this image of how it looks in Chrome and IE and how it looks in Firefox !(https://ibb.co/mv5DRS) // CSS (Less) div{ p{ position: relative;…
-
1
votes0
answers715
viewsHow to sign PDF with A3 digital certificate in C#?
I need to sign a PDF file with A3 digital certificate. It can be in C# or VB.NET.
-
7
votes2
answers56156
viewsHow to center all content of a div - Bootstrap
Hello. I am learning how to use the bootstrap. In my studies I had a question. If there’s any way to centralize the entire contents of a div. I have sample codes... <!DOCTYPE html>…
-
0
votes1
answer347
viewsButton to edit table on click
I am trying to edit the information that has in the columns of my table, when I click on the edit button it opens a modal and already pulls the information of that line in specific, what I am trying…
-
5
votes1
answer663
viewsWhat would be the best HTTP response to inform the client that it cannot delete a single record?
I have an application where I established the following business rule related to user registration: The user may have multiple addresses linked to him, but it is mandatory that he has at least one…
-
5
votes2
answers2206
viewsRedirect with htaccess keeping the URL
I need to redirect a registered domain (domain.com.br) to a domain folder of my hosting (domain.com/exclusive), but I want to keep the domain.com.br in the address bar, without losing the integrity…
-
1
votes1
answer890
viewsSubtracting 30 days from a given date in Javascript
How do I subtract thirty days from a given date, assuming in the field DT_VENC it informs the date of a maturity and in the field DT_AVISO return the date 30 days before the informed, in the format…
javascriptasked 7 years, 9 months ago Ju Meyer 11 -
0
votes0
answers17
viewsIs it bad practice to use native browser Apis with React?
I’ve been using React for a short time, and I use the browser’s native Apis a lot, for example to add or remove classes with events. My question is, is this a bad practice? I should try to make…
-
0
votes0
answers46
viewsAccording to Scroll and apply class on the specific link in the menu
I’ve seen the effect on some sites! But I have no idea how to do it! The effect works in a set, formed by the menu the page body and the class! Let’s say I have a menu with three tabs, being A B C.…
-
2
votes2
answers3451
viewsRead a comma separated string
My reading has been established to the comma, but he’s reading the whole field to the end of the line when reading the string. The code is read correctly, but only in the code. #include…
-
0
votes1
answer42
viewsAppendto is not a Function/Shopping Cart using jQuery
Hello I’m doing my first online store project but I’m missing some tasks that I don’t know how to solve right now. Below is what I need to do: How to show the cart (which will be hidden) when the…
-
0
votes2
answers428
viewsLoad log by id in Angular
This below is a brief explanation. By clicking the register on browser screen I can not load the records according to the ID. This below is a detailed application; View the gif file You can notice…
-
3
votes1
answer534
viewsIndex for MYSQL - ORDER BY influence when creating an index?
I have the following query: SELECT type,name,points FROM clients WHERE type='1' ORDER BY name I created an index for the "clients" table only above the "type field". Adding an ORDER BY on top of a…
-
1
votes0
answers22
viewsDivide a view into tabs
I have a very large registration form, I want to divide it into Tabs, and the button to register the data should be in the last View that contains the form How can I do that ?
asp.net-mvcasked 8 years, 3 months ago Morais 83 -
0
votes0
answers641
viewsClass not found in namespace
I’m trying to use a class by using the namespace, but it always generates this error: Fatal error: Uncaught Error: Class 'Database\connect' not found in…