I have a script, however it opens as soon as it is loaded. I would like to have it run after 10 seconds and open along with my div, it looks like this:
<div id="mame">
CONTEUDO
</div>
<script>
var div = document.getEl...
I have a website and I need to put a language selector on it, when the user selects the flag corresponding to the desired language to be redirected to a specific url.
<select>
<option>Brazil</option>
<option...
I have a list of several checkboxes, and I wanted the last checkbox to be to select and deselect all the others. Example :
if (document.getElementById("all").checked = true){
//selecionar todas
}
if (document.getElementById("al...
How can I get matches using the match function?
console.log($("COMMANDO database -> run []").match(/COMMAND\S*(.*)\S*->\S*(.*)/g)[0]);
In theory I would have to get database , run and what's inside []
How far can an end user modify and manipulate everything? As far as I know it's literally everything, but if there is one way to avoid it? Or precaver or simply prevent JS from being edited by Firebug or something ..
How can I improve this script?
The function copiaArea() should get the first return from the array and send it to the windows clipboard, detail: I'm developing for IE, it works exclusively in this function. However, the global var n...
I'm trying to multiply 3 fields, the total value will be returned in a new label. But I can not. When I did with 1 field only, it worked:
link
I even tried to if (isNaN( but it did not work. No error, but it does not work!