Sha256: 0fd8b1844d0f3d72460ca29cb544bf02436a84a8b1d0a0c72dc7aca67faf2c48

Contents?: true

Size: 560 Bytes

Versions: 4

Compression:

Stored size: 560 Bytes

Contents

$(function() {

    $("input,textarea").jqBootstrapValidation({
        preventSubmit: true,
        submitError: function($form, event, errors) {
            // additional error messages or events
        },

        filter: function() {
            return $(this).is(":visible");
        },
    });

    $("a[data-toggle=\"tab\"]").click(function(e) {
        e.preventDefault();
        $(this).tab("show");
    });
});

/*When clicking on Full hide fail/success boxes */
$('#name').focus(function() {
    $('#success').html('');
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lucid-jekyll-theme-0.1.3 assets/js/contact_me_static.js
lucid-jekyll-theme-0.1.2 assets/js/contact_me_static.js
lucid-jekyll-theme-0.1.1 assets/js/contact_me_static.js
lucid-jekyll-theme-0.1.0 assets/js/contact_me_static.js