With the code below, the submit form button should change text to "Loading ..." when pressed, but this does not happen. Why?
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Troca Games - Games com economia</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/jquery.mobile-1.4.5.min.css">
<script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="js/jquery.mobile-1.4.5.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("form").submit(function(){
$("#bt_login").attr("value","Carregando...");
});
});
</script>
</head>
<body>
<div style="padding:15px; text-align:center">
<img src="images/logo.png" width="100%"/>
<br/>
<?php
if($_GET['access'])
echo '<div class="login_failed"><h3>Usuário e/ou senha incorreto(s)</h3></div>'
?>
<form action="<?php echo $loginFormAction; ?>" method="post" rel="external" name="fm_login" class="login" >
<input name="usuario_usu" type="text" placeholder="Usuário" >
<input name="senha_usu" type="password" placeholder="Senha" />
<input type="submit" name="bt_login" id="bt_login" value="Entrar" />
</form>
<p style="font-size:20px">Não possui conta? <a href="cadastro.php">Cadastre-se!</a></p>
<br />
<img src="images/login_facebook.jpg" width="100%"/>
<img src="images/login_google.jpg" width="100%"/>
</div>
</body>
</html>