Posts by Wayne Rocha • 138 points
7 posts
-
0
votes2
answers83
viewsA: Grab last file that entered in "Downloads" folder
To get the last file from a folder you can use metadata data de modificação, the latest downloaded file is the one that has the most recent modification date get the path of the downloads folder you…
-
9
votes4
answers150
viewsQ: What regular expression to use to replace symbols in a string?
I got a string, just like "1x2,4÷4" and I want to replace the x for *; to , for . and the ÷ for / using the replace javascript. Which regular expression I would need to use to make this replacement?…
-
1
votes1
answer39
viewsA: Why only the first modal works?
Just add </div> before the comment Insert. probably this happened because the indentation is not very good, and it happened that the modal div does not close and "eat" the other modal along.…
javascriptanswered Wayne Rocha 138 -
0
votes1
answer65
viewsQ: Checking the existence of a file - JS
Good night I want to know if a particular file in a directory exists or not using pure JS, but none of the Answers on the internet worked. answers I tried: Answer 1 answer 2 the answer 2 returns…
-
0
votes1
answer31
viewsA: Strategy for big queries
An idea for you: Since you have no code, images and other things to describe better I won’t be able to help you much. But an interesting idea is to render the markers by level, equal to the…
-
0
votes1
answer57
viewsQ: How to "shuffle" multiple Divs?
I am making a script for a quiz, and would like to "shuffle" the Divs with the "Question" class within the Divs with the "q" class. so that the questions were random. I did not find any way to do…
-
0
votes1
answer49
viewsA: Input text inside If
In this case, to show or hide a content (called toggle), you can use Javascript instead of php. first assign a value to each option and give an id to the select, the question and the input. Test the…