Really fundamental question here... I am using the below jQuery to shift some elements around the page.
$('.homeProducts .next').click(function() {
$('.productContainer').css('margin-left',-284);
})
What I'd like to happen is every time the next element is clicked the container has it's margin reduced by 284. My code will work once, but that's it. What am I missing?