Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged best



« Prev 1 Next »
when need to created a dom element repeatedly , use string concatenation to avoid for loop you can use repeat function from below.
0 641 posted 12 years ago by root_hacker
this is the way for toggling something on mouse hover in and out
0 791 posted 12 years ago by root_hacker
I should've wrote this function a LONGGG time ago. foreach($myArray, function($k, $v){ console.log($k + " :: " + $v); });
3 685 posted 13 years ago by mattkenefick
« Prev 1 Next »