Demo some wsurveyUtil2.js functions

makeATable
    alist=[1,5,6,16,71,2,61,61,671,22,512,7,6854,52,3713745,8523];
    slist=['color:red','color:green','color:blue'];
    hdrs=['col1','col2','col3','col4','col5','col6'];
    tableAttr='cellpadding="5" border="1"'  ;
    astring=makeATable(alist,6,slist,hdrs,tableAttr) ;
    $('#makeTableA').html(astring);
  
showKeyword Select a button to display:
      <div id="enc1"   style="color:blue;display:none"  >
       <span id="but1" name="rockers">Button 1 rocks!</span>
       <span id="but2" name="rockers">Button 2 rocks!</span>
       <span id="but3" name="rockers">Button 3 rocks!</span>
    </div>
  
Buttons displayed here using showKeyword('but'+nthButton,'rockers','enc1')
toggleView
    
View hints

My first hint Another hint

toggleView
    
Some hints

My first hint Another hint