I need an alert sound to be played after a query on the bank ...
Logical example:
NUM_LINHAS = NUMBER OF TABLE LINES
SE (NUM_LINHAS > 0) { play ();
}
My javaScript function that plays sound:
<audio id="audio">
&...
I created a form that is added to the page with a button. I used JS to create the form to be added. The problem is that I have two fields one of value and another of hours, to count the value of the time worked.
Then I applied to the input that...
Some sites like Walking Dead and YouTube has a system that appears above when the page is loading and an image appears in GIF or CSS3 by flipping on the side or a progress bar. What is the name of this system or how can I do it?
I've done...
I need to format a mask for CNPJ. Until then it is done, but the company default is to format with space instead of point.
This is the code I am using.
valorDoTextBox = valorDoTextBox.replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3")
Someone...
How to apply two (or more) CSS rules to elements img of within a div ?
I use the TinyMCE editor and when I send an image to post or messages (pms) I have to be in a specific measure for each thing, otherwise the images "pop" the...
I'm studying TypeScript but I do not understand the meaning of this example:
interface Person {
firstname: string;
lastname: string;
}
function greeter(person : Person) {
return "Hello, " + person.firstname + " " + person.lastname...
I have the following button:
<button class="btn btn-danger btn-lg btn-block betButton">Submit</button>
And I would like to do a click on it through an event in javascript, but that's what to give me the following error:
Unca...
I have a menu that, when right-clicking, it opens in DIV . Everything happens inside a tr (line) of a table .
My problem is the following , I have a table with several tr , and each of them gets a ID .
A...
How to undo the mouse scroll action on google map in this Iframe?
Is it possible to do this directly in this code or do I have to use Java Script?
If you have to use js, how do I get this Iframe to load only after all other files?
<...