|
|
|
|
|
by dmitriid
2582 days ago
|
|
> if I have to repeat the methods more than twice I'd probably just wrap the couple of lines into a function, like: I wrote in a sibling comment: Once you write it not once, but twice, or five times, you will either switch to a lib/framework, or to jQuery, or will write your own wrapper not that different from jQuery. |
|