Welcome To Snipplr
Everyone's Recent JavaScript Snippets Tagged best
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« 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
829
posted 13 years ago by root_hacker
this is the way for toggling something on mouse hover in and out
0
1017
posted 13 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
868
posted 14 years ago by mattkenefick
« Prev 1 Next »