Posts by Eduardo Abreu dos Santos • 152 points
16 posts
-
0
votes1
answer22
viewsA: How to take all consoles.logs, errors, and alerts from the console to cleinte (devtools)
Opa, there are libs that can help you with this, but you can also create a console wrapper to help you, the idea is to check the environment that is running and run or not console.log. A small…
-
1
votes1
answer30
viewsA: Update the product price in real time
If I intended your problem well, your solution would just change Trigger to update the price, remove Trigger from the button and add Trigger to the checkbox click event, something like:…
-
1
votes1
answer98
viewsA: Restful Pagseguro API returning "message": "Unauthorized"?
Opa, these integration processes need a step called authentication, which is where you identify yourself and generate your access to services. This doc here should help you:…
postmananswered Eduardo Abreu dos Santos 152 -
0
votes1
answer26
viewsA: Gif loading while function runs
Your idea is correct, when starting the process you must display the element of loading and when finishing the process, you must hide it, if only watch for the function trocaValoresInputs must be…
-
0
votes2
answers51
viewsA: Are Mongodb’s "id" unique among collections?
The Objectid generates a unique value, consisting of: a timestamp value of 4-bytes, representing the time of creation of Objectid. a 5 byte Random value. An incremental value initialized by the…
-
0
votes0
answers67
viewsQ: EF Core - Map dynamic columns to a list
I need help in mapping EF Core entities. I have table products and this table can contain different columns depending on customer customization, they will always be text columns. I have a table and…
-
0
votes3
answers227
viewsA: css dynamic change via jQuery Is it possible?
As you reported that the structure is still being defined, you can use json to manipulate multiple css attributes in an element. Ex.: var styles = {"color":"blue", "font-size":"13px"};…
-
0
votes3
answers1548
viewsA: Bulk mailing - Phpmailer
I believe it is a limitation of the hosting itself. A third party service is usually used for this type of shipment, such as: Mailgun, Mailchimp and others. They have a very easy-to-integrate API…
-
2
votes2
answers166
viewsA: What is the impact of changing the keypress event so that it interacts a 'level up' than the key would do natively?
I am trying to help because no one from UX has tried to help so far. In my opinion this is not a good practice. The web software I use does not overwrite browser shortcuts, since when we use browser…
-
-1
votes3
answers6016
viewsA: Convert JSON to EXCEL
Hello. Turn your JSON and write to a CSV file, maybe this lib will help you: http://papaparse.com/ Abs
-
2
votes2
answers682
viewsA: Automatically close browser after alert
Try to use: window.close(); after the alert.
-
0
votes3
answers722
viewsA: How to enter birth date in comic book?
Try adding date quotes that goes to query. insert into table (dt) values('2017-10-26');
-
1
votes2
answers418
viewsA: Send image that is on the server as an email attachment
There are some ways. The first is to have the image a public path to the server and only use the tag: <img src="caminho/absoluto/imagem.png" /> There is also the possibility to add the image…
-
2
votes3
answers870
viewsA: F11 mode in browser
There is a Fullscreen Api: https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API var elem = document.body; if (elem.requestFullscreen) { elem.requestFullscreen(); } else if…
-
1
votes1
answer21
viewsA: Using return of an Angularjs method in another controllerJS
Create a service to assist you in this task, so the code is even more reusable. Follow an example (can contain errors, made running).…
-
0
votes1
answer46
viewsA: Problems changing action with Avascript
The variable nomesconsul is set with value within an asynchronous code, its conditions are being verified before the end of the request (POST). Try to place the checks inside the callback of the…