Jump to content

NathanCH

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by NathanCH

  1. This can easily be achieved using jQuery. If someone has a different method I'd also like to know. Here's how I did it:

     

    $(document).ready(function() {
    
    $(".classOfForm").change(function() {
    
    				if ($(".classOfForm").val() == "0"){
    
    					$(".classYouWannaHide").hide();
    
    				} else {
    
    					$(".classYouWannaHide").show();
    
    				}
    
    			});
    
    });

     

    So basically assign .classOfForm to the check box or form selection you want to change. And give the form you want to appear a class of .classYouWannaHide

     

    Let me know if you need further help.

  2. Hey,

     

    I've been looking for a good forum to discuss web development for some time and only heard about this site today. I was surprised I had joined 4 years ago but wasn't active. I'm a web designer and developer living in Stockholm (from Canada). I work as a freelancer and am looking to improve my skills and help out others here and hopefully make friends along the way.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.