Example I have the link:
www.meusite.com.br/index.php?subject=conteudo do assunto;message=teste de mensagem
I want to call the onclick function of this button automatically:
<input value="Enviar" tabindex="3" onclick="return sub...
I have a page with a table whose code field is link that opens a modal. I need that when opening the modal, show another table, only with the data according to the value of the field (code) clicked.
How do I get the value of the chosen field wit...
What is the most performative way of finding the minimum number of bits needed to represent a natural number (i.e., no signal) in JavaScript? Is there a way to do without using loops?
The code below for example works for every integer between...
I have the following question:
When I make a request via AJAX and I want to "mount" the HTML based on data coming from a banco , it is wrong (in terms of "good practices") to already return HTML on itself requisition...
I have the following code link .
My problem occurs as follows:
Add a Double Steppe in the list on the right.
Add a Simple Steppe in the list on the right.
Add a second Double Step in the list on the right.
Drag a Double Step to the...
Hello, I would like to know how to resize the thumbnails generated by the jQuery Uploadfy plugins. As I show in the print below, it generates the thumbnails according to the actual size of the images, is it a good practice to only resize them in...
I wrote this code to organize the teams that will face in the Cup:
<script>
var dados = {
"grupo1" : [
{"selecao" : [{"nome":"brasil"},{"resultado" : [{"a":0},{"a":4},{"a":2}]}]},
{"selecao" : [{"nome":"croacia"},{"re...
When asked about "What is a Polyfill?" , I ran into comments and searches with the term Shim .
What would a Shim be?
What is the relationship of the term Shim with the term polyfill ?
Shim is directly linked to Javascript, su...
I am training my javascript and am wondering how I look for repeated characters in a regular expression
Example: I type aa in a textbox and, within a validation method, the method checks whether the character a, typed twice in a row, is insid...
I need to know how to give ctrl c in a div's contents when clicking on it. In case it will have multiple divs, and it will get the contents of the div clicked.
I found some things on the internet, but wanted something simple. Simply through...