Ok well - hope it all worked out for you! :|
On Jul 15, 4:09 pm, "danny.copel...@gmail.com" <danny.copel...@gmail.com> wrote: > var toggleCheckBox = function(){ > > if ($(this).find('.multCheck:checked').val() == 'on') { > > $(this).find(".addURLSArea").slideDown(); > > } else { > > $(this).find(".addURLSArea").slideUp(); > > } > > }; > > $('.divsClassNameGoesHere').click(function(){ toggleCheckBox(); }); > > does that help? > > dan > > On Jul 15, 12:22 pm, Nathan Chapman <nachap...@gmail.com> wrote: > > > > > $("#addURLSArea").hide(); > > > $('.jqTransformCheckbox').click(function(){ > > if ($('#multCheck:checked').val() == 'on') { > > $("#addURLSArea").slideDown(); > > } else { > > $("#addURLSArea").slideUp(); > > } > > }); > > > I want to use this 4 times on a form. How do I change this so I can > > have it target 4 different divs?