Return to Snippet

Revision: 11632
at February 12, 2009 07:06 by sveggiani


Initial Code
$('#username').keyup(function() {
    $('#submit').attr('disabled', !$('#username').val()); 
});

Initial URL
http://cakebaker.42dh.com/2009/01/13/enabling-submit-button-if-text-entered/

Initial Description

                                

Initial Title
enabling submit button if text entered

Initial Tags
jquery

Initial Language
jQuery