I was wondering if it is possible to do something like this using jQuery:
$('#embedVid' || '#upldImg').click(function() {
slide($('.vidEmbd') || $('#image_uploader_wrapper'));
});
so if you click '#embedVid' and then pass' $ ('. vidEmbed') 'to the function' slide ', OR if you click' #upldImg 'and then pass' $ (' # image_uploader_wrapper ')' to ' slide?
It would be nice if I could put them in one click function ...
thank
source
share