Quantcast
Channel: Developments » jQuery
Viewing all articles
Browse latest Browse all 3

Re-wrap a modified JS function

$
0
0
The question came up recently about the possibility of modifying an existing javascript without duplicating it. Yesterday, I found out that it’s indeed possible. The key to the solutions is to re-wrap an existing function with it’s modifications in an ‘anonymous function.’ Here’s the scenario: I have a page where I check for some required [...]

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images