Tagged: HTML

HTML checkbox submit a value if not checked using JQuery

HTML checkbox submit a value if not checked using JQuery

HTML checkboxes are horrible. If they are checked – they will submit a value, but if they aren’t checked then the the whole input is just left out. This is terrible if you want...

Simple HTML content fade in with JQuery

Simple HTML content fade in with JQuery

JQuery in the Head <script> $( document ).ready(function() { $('#firstbody').animate({opacity:'toggle'}, 1000).is(':visible'); $('#first, #second, #third, #fourth, #five, #six, #seven').on('click', function(){ var el = $('#'+this.id+'body'); if ( el.is(':visible') ) return false; el.animate({opacity:'toggle'},1000) $('#firstbody, #secondbody, #thirdbody, #fourthbody,...

Make a Form Cancel Button

The Cancel Button You are making an edit form for a site. The form allows a users to make changes to something and submit the changes to the database. This is a typical scenario...