Posts by MrVanDaime • 101 points
8 posts
-
1
votes2
answers120
viewsQ: How to perform an "IF" by SQL
Hello, how can I do something similar to an if but by sql? For example: There is a field in the database called dt_ini with no value so far. I’d like to do, "If dt_ini == ' ' Insert into table…
-
1
votes2
answers50
viewsQ: How to change the layout of a page without touching the source code?
The code below does the following: When I click the button Show Button another button appears, however, let’s assume that I click F5, the button disappears. What tool could I use to make it not…
-
0
votes2
answers100
viewsQ: Why are you returning Nan?
I’m stuck in an exercise where I can’t get free, I’d like to know why you’re returning Nan, I think you’re giving some trouble in the "draw" function, but I’m not seeing which one. var mostraBR =…
javascriptasked MrVanDaime 101 -
2
votes3
answers103
viewsQ: How can I decrease the size of this function?
It’s a simple function, but it’s starting to turn into a monster, the only thing that changes is the number at the end of each word. Does anyone have any tips on how to shorten this code? No…
-
0
votes2
answers7095
viewsA: Open message window inside html page
I know the question has already been answered, but only for learning reasons am I posting this other code, done 100% in the arm. With a lot of help I managed to make a simple Alert type box with a…
-
4
votes2
answers189
viewsQ: How to avoid repeating code that does the same thing for different Ids?
There is a function onClick Javascript for each "Show more". This function changes the visibility of the div to Visible to which the default is Hidden. However simple it is, the code is too big. Is…
-
0
votes1
answer313
viewsQ: How to hide iframe from JS?
I have this code below that when clicked on the action, opens a box on the same page. It works. But when I click the x, the box closes, but the iframe does not. I would like to only show the box…
-
1
votes2
answers2186
viewsQ: Open a page within a page
For example, there is a button that leads to another page, but I would like it to open in the same, like a dialog box, with close button, maximize and also to be highlighted, (without being able to…
htmlasked MrVanDaime 101