Need JS help on Vertical Tabs I can barely cut and paste JS stuff and have not seen an example of this anywhere. I have added a vertical tab to the node admin page and I want to show either "Limited" when the value of a field in the tab is not zero or "Not limited" if it is. 

I see lots of examples of using check boxes, but this is a numeric field.
Sorry for the late response, your question escaped my mind.

(function ($) {
   (function Forever(){ // we create a function called Forever
     var grabval = $('#edit-title').val();
     $('.vertical-tab-button').each(function(){ 
       if ($(this).children().children('strong').text() == 'Content Limit'){
         if (grabval == 0 &amp;&amp; $(this).children().children('span') == null){
           $(this).children().children('strong').after('&lt;span class="summary"&gt;Not Limited&lt;/span&gt;');        
         }
         else if (grabval == 0 &amp;&amp; $(this).children().children('span') != null){
           $(this).children().children('span').html('Not Limited');        
         }
         else if (grabval != 0 &amp;&amp; $(this).children().children('span') == null){
           $(this).children().children('strong').after('&lt;span class="summary"&gt;Limited&lt;/span&gt;');   
         }
         else if (grabval != 0 &amp;&amp; $(this).children().children('span') != null){
           $(this).children().children('span').html('Limited');        
         }  
       }       
     });   
   setTimeout(Forever, 1);
   })();
})(jQuery)


I used the node title for mine, so if you change the title to 0 or 1 or 2 ..etc, it will change. 

So all you have to do is change the var grabtext = $('#edit-title').val(); more specifically the #edit-title part, and put the ID or Class name of your Maximum per time period box.