Posts by Luiz Felipe da Silva • 69 points
6 posts
-
1
votes1
answer26
viewsQ: Gif loading while function runs
I need to place a gif load while a function performs. The function simply changes the value of various products, when the user clicks the gif button should appear and when the inputs are filled it…
-
1
votes1
answer38
viewsQ: Save timer time when restarting page
I’m making a countdown timer in Javascript that after 3 days it restarts the countdown, but I wonder how I can make the countdown not restart when reloading the page. let time = new Date(); let…
-
0
votes1
answer44
viewsQ: Problem with Javascript Class Method
I created a Javascript class and used var to leave the attributes encapsulated, but when I use the method setNome() it doesn’t work. class AA { constructor(nome, idade) { var nome = nome; var idade…
javascriptasked Luiz Felipe da Silva 69 -
0
votes2
answers138
viewsQ: Session check problem in PHP
I made a small login screen using PHP session, but when I do the test to check if the session is already created the condition never "falls" in else. Code: <?php if(!isset($_SESSION)) {…
phpasked Luiz Felipe da Silva 69 -
-1
votes2
answers77
viewsQ: How to recover session data beyond ID
I am creating a session in PHP and taking her ID with cookie via javascript, however I would like to know how I do to get other data besides the ID, as the name of the session for example.…
-
2
votes2
answers117
viewsQ: To add variable to a Jquery selector
Hello, I made a method in Javascript that when clicking a button is added a text with toggle effect. Only I’m using a function that takes 2 values as arguments to do this, and I can’t use these…