Commit 3d92388d by Angel MAS

cronocmetro con swal

parent 34719ea4
var start;
var finish;
jQuery(function ($) {
start = new Date();
$('form').submit(function(){
start = new Date();
$('form').submit(function(){
finish= new Date();
var tiempo = (+finish - +start) / 1000;
jQuery("#landing_form").append('<input type="hidden" name="session_time" value="'+tiempo+'" />');
var tiempo = (+finish - +start) / 1000;
jQuery("#landing_form").append('<input type="hidden" name="session_time" value="'+tiempo+'" />');
$('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