Someone please help me to change current function to display elements in two columns,
function nextCode(flag)
{
var code = codes[flag];
$('.headers').html(''+code[0]+'');
var sum;for(var j=1;j<=code.length;j++)
{
sum+="<li>"+code[j]+"</li>";
}
sum="<ul>"+sum+"</ul>";
$('.options').html(''+sum+'');
}
This is generating a list in single column, But i want to display them in two columns..
Please help me on this.
Will this do your work?