I have two click events as follows:
$($(\'[id^=\"tab\"]\')).live(\'click\', function() { alert($(this).attr(\"id\")); }); $($(\'[id^=\"home\"]\')).live(\'cl
Sure, simply divide them by ,:
,
$('[id^="tab"], [id^="home"]').live('click', function() { alert($(this).attr("id")); });