My code has the following button:
<input type="submit" id="btnEnviar" name="btnEnviar" value="Enviar">
And in the JavaScript I've got this function:
$('#btnEnviar').click( function(){ });
I need to know to use two functions using the same button id "btnEnviar", and event ".click".
For example:
$('#btnEnviar').click( function(1){ });
.click( function(2){ });