Posts by Maradinho PH • 131 points
7 posts
-
1
votes1
answer65
viewsQ: Code set to operate at a given time
I have a code that should work at a certain time, but it is not working. $(function() { $(".post").each(function() { var d = new Date(); var hora = d.getHours(); if (hora <= 7 && hora…
javascriptasked Maradinho PH 131 -
3
votes1
answer585
viewsQ: Code operating at a given time
I would like to know how to put a code to be active between certain hours, which in this case would be between 7am and 10pm of the Brasilia time zone. I tried to study this one that already contains…
javascriptasked Maradinho PH 131 -
0
votes1
answer137
viewsQ: Is comparing a variable to 1 the same as comparing it to true?
I have the following code: $(function() { var logado = _userdata["session_logged_in"]; if (logado == 1) { $('#rankPersonalizado').after('Você está logado.'); } }); Here: if (logado == 1) { 1 means…
-
-1
votes1
answer254
viewsQ: Possibility to drag a form with the mouse when its title bar has been hidden
I have a problem! When I try to move my program to some other place on the screen, I can’t, it seems to be fixed. Does anyone know how to solve? @PS: I tried this code provided by Roberto and it…
-
2
votes3
answers244
viewsQ: Generate text from form
How can I make sure that when filling in the fields, they appear in the textbox by replacing the values "USER NAME", "WARNING TYPE" and "TOPIC LINK"? Private Sub bemvindo_Click(ByVal sender As…
-
1
votes2
answers2679
viewsQ: Copy text from a textbox
How can I make the "Copy" button copy all text from the textbox?…
-
0
votes2
answers102
viewsQ: Generate text from a combobox
I’m creating a program: I would like to know how to generate a code by selecting one of the combobox items. For example: I select the "Solved issue" item, in the textbox it would appear "Question…
visual-basic-6asked Maradinho PH 131