Posts by Andre Lima • 78 points
5 posts
-
-2
votes2
answers250
viewsA: How to develop a specific layout for web and another for desktop?
In case you didn’t want to go so deep in css you can create 2 HTML pages, one for mobile and one for desktop. When accessing the Index page that can be the desktop for example, you do a validation…
-
0
votes2
answers86
viewsA: Auto Select the first value of a Select Option
Test with the following code, remembering that it is necessary to give a name to options or id. Document.getElementsByName('optionName')[0]. Selected = true
-
1
votes1
answer54
viewsQ: What is the best practice for cleaning an html?
I am working with javascript for a short time, and I see people commenting whenever innerHTML is a bad practice. I agree that it is not a very beautiful code to write htmls by the js themselves, but…
-
0
votes3
answers86
viewsA: Alert function is not running when clicking the button
The nomenclature this wrong, change its function to btnElement.onclick = function () {... Another way to work would be to create a Istener btnElement.addEventListener('click', function() { função...…
-
4
votes2
answers671
viewsQ: Faster delete + Insert or select + update
I am building an app that will receive data from various different ERP’s every day. But I have the following problem, the next day the ERP can send me the same data that had or did not changes +…