I am looking to create a system which on signup will create a subdomain on my website for the users account area.
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
I want to generate a basic array and declare it with a 'n' number of elements in jquery. I want to initialize each value of the array with 0 and I want to be able to call increment each value of the array. How can I do it?
++arrayname[i];
If I understand, you need something like that:
ReplyDeleteTo initialize:
$.each(arrayname, function(idx, elt) {
arrayname[idx]=0; // **EDIT**
});
To increment:
$.each(arrayname, function(idx, elt) {
arrayname[idx]++; // **EDIT**
});