Commit 3d92388d by Angel MAS

cronocmetro con swal

parent 34719ea4
var start; var start;
var finish; var finish;
jQuery(function ($) { jQuery(function ($) {
start = new Date(); start = new Date();
$('form').submit(function(){
$('form').submit(function(){
finish= new Date(); finish= new Date();
var tiempo = (+finish - +start) / 1000; var tiempo = (+finish - +start) / 1000;
jQuery("#landing_form").append('<input type="hidden" name="session_time" value="'+tiempo+'" />'); jQuery("#landing_form").append('<input type="hidden" name="session_time" value="'+tiempo+'" />');
$('input[type=submit]', this).attr('disabled', 'disabled'); $('input[type=submit]', this).attr('disabled', 'disabled');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment