Posts by Nicasio Marques • 1 point
4 posts
-
-2
votes3
answers118
viewsA: How to insert Javascript with Javascript?
Try Use This to Load the Code <script> function myFunc(){ // Aqui vai o codigo que vai rodar antes da pagina ser carregada... } window.onload = myFunc; </script>…
-
-1
votes2
answers472
viewsA: How to make one-to-many foreign keys using PHP
Tells your instance of connection to the bank to do this plus replace my data with yours CREATE TABLE `cidades` ( `codcidade` INT NOT NULL , `descricao` VARCHAR( 50 ) NOT NULL ) ENGINE = innodb;…
-
-1
votes6
answers21461
viewsA: Format numerical sequence in CPF format with tabs using javascript
"Try this" function cpfCnpj(v,label){ //CNPJ if (label == 'J'){ return formataCampo(v, '00.000.000/0000-00', event); } //CPF if (label == 'F'){ return formataCampo(v, '000.000.000-00', event); } }…
javascriptanswered Nicasio Marques 1 -
0
votes2
answers832
viewsA: Leave div and fixed elements
A fixed element - Fixed - is positioned relative to the "viewport", it means that it will always be in the same place even if there is scrolling on the page. As well as relative, properties top,…