Alright I'm a little lost.
I've a page that pulls a value out of a database which is then being loaded into a variable, ticketNum. Basically I just need to generate the same div/content every time based on this number. I'm at a loss as it how to do it.
If the ticketNum is 10, I need 10 divs, if it's 3, I need 3 and so on.
$(document).ready(function(){
var ticketNum = 10;
if (ticketNum > 0) {
} else {
}
});