I've seen such a thing before and I forgot to bookmark it. It was a plugin for something, wish I knew what was it for to keep searching.
Anyway I need to learn how to create a HTML structure within jQuery using array. I remember that guy who made a plugin that I've seen have used following:
var struct = [];
.join(), .pop(), .push()
I tried these but I can't figureout how to create such a thing and append it into body. I always create a default structure like this.
$("body").append(//->
'<div class="daBox-outer">' +
'<div class="daBox-inner">' +
'<div class="daBox-top" />' +
'<div class="daBox-bottom" />' +
'</div>' +
'<div class="daBox-overlay" />' +
'</div>'
//<-
);
Please if anyone know how to make such a structure using array, let me know with an example! Link redirect to any plugin that has structure made with jQuery arrays is also welcome, so I can learn out of it.
var struct = []; .join(), .pop(), .push()is valid? in what language?