I've read some web comments about whether or not to use ; at the end of the lines when writing JavaScript. Some say yes, others say they have no need, but none can explain the reasons for the divergences.
Example:
var ola = "Olá"; //...
I'm using the Code Igniter framework.
I have the following model:
public function getVendasVendedor() {
$query = $this->db->query("SELECT * FROM vendas_vendedor");
return $query->result();
}
My Controller:
pu...
As a beginner in JS I'm trying to concatenate the value of an input to a random value that I generated, as if typing the name was generated a random user name for the person, I thought of saving the name in a function and then concatenating both...
To contextualize :
There is a remote directory, clearing-dit\logs , which has a series of logs ( portal.log , test.log , ...). This directory is mapped to an HTML page, where all its .log's are displayed. Once one of...
Hello
I'm using this method to refresh the page:
header ("Refresh: 0");
But I would not want to lose what's in $ _POST ...
How to proceed in this situation?
I'm having trouble sending Json to my Controller in PHP:
See,insendingmyLogintheparametersthatarebeingsentintherequestareexposed,thusbeingavulnerability.Myquestioniswhetheryouwouldhaveamethodofsendingwithoutrequiringanexternalcryptography...
In my template I have a button that calls the sign-in function:
<button type="submit" name="entrar" (click)="fazerLogin()" routerLink="/home" class="login" id="login-button">Entrar</button>
I've added a div for if the username o...
I have the following regex:
(?! ).*?[|.!?:;\b\t\n](?![|.!?:;\b\t\n]|(\.\d))(?<!\bDr\.|\bINC\.|\binc\.|\bInc\.|\bNO\.|\bNo\.|\bno\.|\bN\.|\bn\.|\bReg\|\breg\.|\bREG\.|\bCo\.|\bDra\.|\bSrs\.|\bSr\.|\bSra\.|\bSra\.|\bFl\.|S\.|A\.|\bSras\.|\&am...
Hello
I made a generic JavaScript function that needs to receive a DataTable as a parameter, but for some reason it is not getting the data from this DataTable.
This function is called when the user clicks the DataTable cell
$('#tableBas...
Good morning! Home
I'm creating a rating system, it's choose the option , the user is redirecting to another page to leave a comment , and followed > show another page to thank , and everything back to the beginning.
Home
But there are user...