$('#selector').click(function() {
});
How is this possible? I'm not sure, but I remember reading about the function that does this in the jQuery documentation, but I can’t find it here, maybe it is deprecated or I saw it elsewhere?
Basically, I want to load the script into the click event.
source
share