I have a very basic click-function which does some functions:
$('#one').click(function() {
slider();
$(this).css({'background-image':'url(img/circle_c.png)'});
$('#two, #three').css({'background-image':'url(img/circle.png)'});
$content.cycle(0);
return false;
});
now I want to trigger this click function at another click-function. I mean once I press another click-function which currently looks like this:
$mario.on('click', this, function() {
var l = 0,
row = 8;
$(this).addClass('active');
// and some other functions
});
the first click-function fires as well. Does anyone of you know how to do this. I guess copy and paste the content of #one clickfunction is not nessecary.
Cheers