+ 3

Can some one help? I want to create thousand blocks in my side by div, with the same class. Maybe there some code to make it

so to not write thousand times the same code

2nd Nov 2017, 6:22 AM
Nasibillo Muhamedov
Nasibillo Muhamedov - avatar
8 Antworten
+ 9
i am always glad to help you so no thx do u mean something like this https://code.sololearn.com/WcEHS5GBy9r9/?ref=app if u want to develop yourself in js visit http://javascript.info
11th Nov 2017, 12:46 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 7
https://code.sololearn.com/WcEHS5GBy9r9/?ref=app i have made especially for you dude .. 😊 read out js comments for a better understanding
10th Nov 2017, 1:52 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 6
You can use js with jQuery to do this. Check 4 and 5 line of my code for example https://code.sololearn.com/W9k46o4b2MEt/?ref=app
2nd Nov 2017, 6:26 AM
ThreeG
ThreeG - avatar
+ 5
You can use loop ;
9th Nov 2017, 3:20 PM
Prashanth Kumar
Prashanth Kumar - avatar
2nd Nov 2017, 8:51 AM
Calviղ
Calviղ - avatar
+ 1
thats perfect, thanks exactly this one i needed
11th Nov 2017, 8:29 AM
Nasibillo Muhamedov
Nasibillo Muhamedov - avatar
+ 1
also i have else one question please give any code to change divs differently, for example for first div give some function
11th Nov 2017, 8:33 AM
Nasibillo Muhamedov
Nasibillo Muhamedov - avatar
0
can someone showe me this in javascript, not in other frames
3rd Nov 2017, 6:53 AM
Nasibillo Muhamedov
Nasibillo Muhamedov - avatar