[jQuery] How to extend a function
Hi guys,
I'm using thickbox to pop up content, but the thickbox.js is shared
between multiple projects which means I cannot edit the core functions
in that file.
Instead, I want to run some "extra" javascript on one particular
project and I wondered if there was a way to extend an existing
function? I've written some code below that I thought might work but
it doesn't :(
Any ideas?
TB_show.extend({
$(".mpu").css("visibility","hidden");
})