Posts by Dakota • 1 point
21 posts
-
0
votes2
answers663
viewsA: Insert an html into a table using sql server
Try the following Put everything into a variable, and assuming you have it is variable: var html = "<html><body>Html aqui</body></html>" And in Insert do the following:…
sql-serveranswered Dakota 1 -
1
votes2
answers48
viewsA: How to pass Corner Blob effect to right side of the screen?
Look here is another example OK, but the important thing is logic "use strict"; var Test = { canvas: undefined, canvasContext: undefined, rectanglePosition: 0 }; var i = 0; //"Localização" atual do…
-
0
votes2
answers180
viewsA: Download a file in C#
I found a code in Stack Overflow (English) for what you want to do. It’s a little different, but it’s for the same need. protected void btnUpload_Click(object sender, EventArgs e) {…
-
0
votes1
answer28
viewsA: Disproportionate image in higher resolution, I want help to create a way to make in each resolution proportional
The ideal would be you take the resolution of the user screen and adjust to the ideal size for each screen, you can take javascript, but I’ll give an example in css: @media screen and (max-width:…
-
1
votes1
answer103
viewsA: Background with Parallax does not appear
From what I understand you want to leave the background "opaque" without affecting the opacity of the content, if that is it you can use to manipulate the background color in Coda rgba and use…
-
0
votes3
answers64
viewsA: How to receive a list of each date between two dates in python
import datetime data = datetime.datetime(2014,7,16,23) dataatual = datetime.datetime.now() diff = dataatual - data days = diff.days anos, days = days // 365, days % 365 meses, days = days // 30,…
-
0
votes5
answers54
viewsA: Close modal after saving to Bank
Try to remove the Alert, then tell me if it worked, because the alert is blocking and blocks everything that is around until you click ok, and I don’t know if Alert is showing, this is the problem…
-
1
votes1
answer32
viewsA: You can only call one or two classes from an entire library in HTML/Css
Cannot import only one class from a css file or library. What you could do is mark the classes that will overwrite everything with the element !important tag in CSS, which means it will not be…
-
0
votes2
answers123
viewsA: onclick event is not calling the function
The answer is simple friend, you can’t call the function because you declared the function within of function createWindow, i.e., it exists only within the scope of the createWindow function, so it…
-
0
votes2
answers121
viewsA: How to reuse HTML code with pure Javascript?
The solution is to put the codes that will be reused in a separate file and load with the method load() Suppose you have this file called main.html: <!DOCTYPE HTML> <html> <head>…
-
0
votes1
answer28
viewsA: Change link color after user scroll down
Just add the following codic snippet to your scroll function: document.ElementsByTagName("li").style.color = "black"
-
-1
votes1
answer39
viewsA: How to run a Javascript command on all browser tabs?
Explanation: If the other tabs that are open are from your page yes it is possible, if it is not impossible since the javascript of your page will not control the whole browser of the user, now if…
-
-2
votes2
answers67
viewsA: How to move the input box
What I understand is that you want to move the input to the right, if this is it, the following section will solve: #mainBox input{ float:right; } Guys the answer is correct, they gave down vote…
-
-2
votes1
answer47
viewsQ: How not to repeat information in a js Node file
You guys, I got this comic: const fs = require('fs'); const produto = { nome: 'Smartphone', preco: 1749.99, descontoo: 0.15 } fs.appendFile('mynewfile2.txt', JSON.stringify(produto), err => {…
-
1
votes3
answers52
viewsA: Fill each value of an input with a string variable character
For the first input: document.getElementById('um').value = string[0] Second input: document.getElementById('dois').value = string[1] The index always starts with 0, the index 0 of the variable…
-
1
votes2
answers215
viewsA: Fs.writeFile() is overwriting a file
The method fs.writefile() replaces the file every time the method is called, if it does not exist will be created the file with the content you put, if it exists it will overwrite, therefore you…
-
0
votes2
answers247
viewsQ: How to leave label on top of input
The thing is, I’m making a form and I want the label to be on top of the input, but I couldn’t get it because I used the float: left to leave the inputs side by side, but I want instead to look like…
-
-5
votes2
answers109
viewsQ: html page background with css
Hello I have a page I added the msm css of the other page the other page is right but that of this page the image is only in the middle of the screen the rest is black look And on PC the msm thing…
-
-1
votes2
answers468
viewsA: How to use onClick in Javascript?
You use document.getElementById('id') inside the parentheses you paste the id you used you only use if it is id example <div id="nome"></div> inside the parentheses puts name because…
-
-1
votes2
answers196
viewsA: How do I add numbers in innerHTML?
Can create a total variable the code would look like this total = (media + media2) + media3 + media4 and the total variable has to be declared within the Myfunction dps only writing it in innerHTML…
-
-1
votes1
answer52
viewsQ: Ajax requisition
Hello, I have an Ajax code that I don’t understand what’s going on if anyone can help ... I’m not getting xhr.open(method, url); what URL does it set? I have this code and it’s working but I copied…