Tag Archives: jquery

Disable Submit Button Until Checkbox is Checked

Here’s an interesting tidbit of code I worked out today for a client website: $(document).ready(function() { $(‘input.button’).attr(‘disabled’, true); $(‘input.button’).attr(‘value’, ‘Please accept our terms to submit’); $(‘.accept input’).bind(‘click’, function() { if ($(‘.accept input’).is(‘:checked’) == true) { $(‘input.button’).removeAttr(‘disabled’); $(‘input.button’).attr(‘value’, ‘Send Memory’); } … Continue reading

Posted in Code Samples | Tagged , , , | Leave a comment

The Basics

A large part of this blog is to be a helpful resource for me as a web designer and front-end programmer. How so? Because every time I wrangle an entire day of anguish over a silly coding problem I intend … Continue reading

Posted in Code Samples | Tagged , , , | Leave a comment