jQuery – how to wait for the ‘end’ or ‘resize’ event and only then perform an action?

%1$s besuchenjQuery – how to wait for the ‘end’ or ‘resize’ event and only then perform an action?

To do this without a “global” variable you can add a local variable to the function itself. Ex: