This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- value com sigla e option com nome --> | |
<select> | |
<option value="AC">Acre</option> | |
<option value="AL">Alagoas</option> | |
<option value="AM">Amazonas</option> | |
<option value="AP">Amapá</option> | |
<option value="BA">Bahia</option> | |
<option value="CE">Ceará</option> | |
<option value="DF">Distrito Federal</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--HTML--> | |
<input type="text" name="email" id="email" value="digite seu e-mail" /> | |
<!--Javascript (jQuery)--> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Data($date) { | |
$date_1 = explode("-", $date); | |
$date_2 = $date_1[2] . "/" . $date_1[1] . "/" . $date_1[0]; | |
return $date_2; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function seconds(time) { | |
var split = time.split(':'); | |
if (split.length == 1) { | |
var seconds = split[0]; | |
//alert(seconds); | |
} else if (split.length == 2) { |