I'm trying to create an unordered list dynamically and then turn it into jQuery UI tabs...
I think I'm having problem with syntax here, I managed to create the list and turn it into the widget, but those tabs don't look right, they have the outline of the widget but the content doesn't have actual tabs, so my guess is it only 'kind of worked'
$("#doc3").append("<ul>");
$("#doc3").append("<li><a href='#thisGame'>asass<a></li>");
$("#doc3").append("<li><a href='#thisGame2'>asass<a></li>");
$("#doc3").append("</ul>");
$("#doc3").append("<div id='thisGame'>sajaskj askj asjkasjk </div>");
$("#doc3").append("<div id='thisGame2'>sajaskj askj asjkasjk </div>");
$('#doc3').tabs();
is this the way to do it? (for now its just the test, eventually i want to use for loop to create the list and pull data from an array)