JavaScript – Use a variable for a function call
Sometimes you want to pass a function around from script to script as a string containing the function name (well maybe not, but I have some legacy code that does…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
Sometimes you want to pass a function around from script to script as a string containing the function name (well maybe not, but I have some legacy code that does…
If like myself, you often attach functions to elements using jQuery, for example: $('.btnName').live('click', function() { //do something }); There is a nice little browser extension that will show all…